Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Changes in Fair Value of Level 3 Financial Instruments (Details)

v3.22.2
Fair Value Measurements - Changes in Fair Value of Level 3 Financial Instruments (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Mar. 31, 2022
Dec. 31, 2021
Mar. 31, 2021
Dec. 31, 2020
Warrant liabilities | Redeemable convertible preferred stock warrants                
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]                
Fair value as of beginning of period $ 0 $ 1,922 $ 0 $ 1,922 $ 1,695 $ 0 $ 0 $ 181
Change in fair value 227 0 1,741        
Fair value as of end of period 0 1,922 0 1,922        
Warrant liabilities | Private placement warrants                
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]                
Fair value as of beginning of period 1,380 0 1,380 0 0 7,387 9,434 0
Change in fair value (8,054) 0 (6,007) 0        
Fair value as of end of period 1,380 0 1,380 0        
Contingent earnout liabilities                
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]                
Fair value as of beginning of period 12,493 0 12,493 0 $ 0 $ 111,488 $ 142,719 $ 0
Change in fair value (130,226) 0 (98,995) 0        
Fair value as of end of period $ 12,493 $ 0 $ 12,493 $ 0