Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details)

v3.22.2
Fair Value Measurements and Fair Value of Financial Instruments - Schedule of Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Additional Shares | Level 3        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Balance at December 31, 2021     $ 0  
Assumption     (15,340)  
Changes in fair value     2,015  
Balance at June 30, 2022 $ 17,355   17,355  
Earn-Out Shares | Level 3        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Balance at December 31, 2021     0  
Assumption     (70,481)  
Changes in fair value     (17,345)  
Balance at June 30, 2022 53,136   53,136  
Convertible preferred stock warrant liability        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Changes in fair value 300 $ 400 (1,600) $ 1,300
Convertible preferred stock warrant liability | Level 3        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Balance at December 31, 2021     4,787  
Assumption     (989)  
Changes in fair value     (1,616)  
Balance at June 30, 2022 0   0  
Convertible preferred stock warrant liability | Level 3 | Previously Reported        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Balance at June 30, 2022 2,182   2,182  
Convertible preferred stock warrant liability | Level 3 | Revision of Prior Period, Adjustment        
Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward]        
Balance at June 30, 2022 $ 2,182   $ 2,182