Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements and Fair Value of Financial Instruments - Narrative (Details)

v3.22.2.2
Fair Value Measurements and Fair Value of Financial Instruments - Narrative (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, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases     $ 15,340  
Changes in fair value     2,015  
Earn-Out Shares | Level 3        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases     70,481  
Changes in fair value     (17,345)  
Convertible preferred stock warrant liability        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Changes in fair value $ 300 $ 400 (1,600) $ 1,300
Convertible preferred stock warrant liability | Level 3        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair Value, measurement with unobservable inputs reconciliation, recurring basis, liability, purchases     989  
Changes in fair value     $ (1,616)