Quarterly report pursuant to Section 13 or 15(d)

Stock Warrants and Earnout Shares - Additional Information (Details)

v3.22.2
Stock Warrants and Earnout Shares - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Aug. 10, 2021
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share)   $ 0.0001   $ 0.0001   $ 0.0001
Warrant liability   $ 31,230   $ 31,230   $ 44,902
Gain from change in fair value of warrants and earnout shares   42,698 $ 0 59,512 $ 0  
Earnout Shares Liability   64,005   64,005   $ 109,844
Private Placement Warrants            
Class of Warrant or Right [Line Items]            
Warrants issued to sponsor (in shares) 11,533,333          
Warrants and rights outstanding, term 5 years          
Warrant liability $ 21,900          
Gain from change in fair value of warrants and earnout shares   6,500   5,500    
Public Warrants            
Class of Warrant or Right [Line Items]            
Warrants issued to sponsor (in shares) 17,250,000          
Warrants and rights outstanding, term 5 years          
Warrant liability $ 32,800          
Gain from change in fair value of warrants and earnout shares   9,700   8,200    
Earnout Shares            
Class of Warrant or Right [Line Items]            
Warrants and rights outstanding, term 10 years          
Gain from change in fair value of warrants and earnout shares   $ 26,400   $ 45,800    
Percentage of shares held for sale       20.00%    
Earnout Shares Liability $ 149,900          
Earnout Shares | Minimum            
Class of Warrant or Right [Line Items]            
Number of trading days       20 days    
Earnout Shares | Maximum            
Class of Warrant or Right [Line Items]            
Number of trading days       30 days    
Earnout Shares | Tranche One            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)   $ 12.00   $ 12.00    
Earnout Shares | Tranche Two            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)   18.00   18.00    
Earnout Shares | Tranche Three            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)   24.00   24.00    
Earnout Shares | Tranche Four            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)   32.00   32.00    
Earnout Shares | Tranche Five            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)   50.00   50.00    
Common Stock            
Class of Warrant or Right [Line Items]            
Lock-up and transfer of common shares (in shares) 17,130,000          
Common Stock | Private Placement Warrants            
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share) $ 0.0001          
Class of warrants exercise price per share (in dollars per share)   11.50   11.50    
Common Stock | Public Warrants            
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share) $ 0.0001          
Class of warrants exercise price per share (in dollars per share)   $ 11.50   $ 11.50