Annual report pursuant to Section 13 and 15(d)

Stock Warrants and Earnout Shares - Additional Information (Details)

v3.24.0.1
Stock Warrants and Earnout Shares - Additional Information (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Oct. 07, 2022
USD ($)
tranche
tradingDay
$ / shares
shares
Aug. 10, 2021
USD ($)
$ / shares
shares
Feb. 23, 2021
shares
Dec. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2022
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
Class of Warrant or Right [Line Items]            
Number of warrants issued for common stock conversion (in shares) | shares   1        
Common stock, par value (in dollars per share)       $ 0.0001 $ 0.0001  
Warrants exercised (in shares) | shares       0    
Warrant liability | $       $ 62,936 $ 28,783  
(Loss) gain from change in fair value of warrants and earn out shares | $       (86,378) 98,002 $ 49,853
Earnout shares liability | $       95,969 44,055  
Number of tranches | tranche 2          
Common Stock            
Class of Warrant or Right [Line Items]            
Shares issued (in shares) | shares 11,044,232          
Issuance price (in dollars per share) $ 5.4327          
Cash consideration | $ $ 60,000          
Common Stock            
Class of Warrant or Right [Line Items]            
Lock-up and transfer of common shares (in shares) | shares   17,130,000 17,130,000      
Public Warrants            
Class of Warrant or Right [Line Items]            
Warrants issued to sponsor (in shares) | shares   17,250,000        
Warrants and rights outstanding, term   5 years        
Warrant liability | $   $ 32,800        
(Loss) gain in fair value warrants liability | $       (12,800) 18,600 5,900
Public Warrants | Common Stock            
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        
Private Placement Warrants            
Class of Warrant or Right [Line Items]            
Warrants issued to sponsor (in shares) | shares   11,533,333        
Warrants and rights outstanding, term   5 years        
Warrant liability | $   $ 21,900        
(Loss) gain from change in fair value of warrants and earn out shares | $       (8,500) 12,400 3,900
Private Placement Warrants | Common Stock            
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        
Earnout Shares            
Class of Warrant or Right [Line Items]            
Warrants and rights outstanding, term   10 years        
(Loss) gain from change in fair value of warrants and earn out shares | $       $ (51,900) 65,800 $ 40,100
Percentage of shares held for sale       20.00%    
Number of trading days       30 days    
Earnout shares liability | $   $ 149,900        
Earnout shares vested | shares       0    
Earnout Shares | Minimum            
Class of Warrant or Right [Line Items]            
Number of trading days       20 days    
Earnout Shares | Tranche One            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)       $ 12.00    
Earnout Shares | Tranche Two            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)       18.00    
Earnout Shares | Tranche Three            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)       24.00    
Earnout Shares | Tranche Four            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)       32.00    
Earnout Shares | Tranche Five            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share)       $ 50.00    
Delta Warrants            
Class of Warrant or Right [Line Items]            
Warrants and rights outstanding, term 10 years          
Warrant liability | $ $ 16,100          
(Loss) gain from change in fair value of warrants and earn out shares | $       $ (12,800) $ 1,200  
Warrants outstanding (in shares) | shares 12,833,333          
Value cap adjustment period 30 days          
Stock price trigger percentage 150.00%          
Threshold business days | tradingDay 10          
Delta Warrants | Tranche One            
Class of Warrant or Right [Line Items]            
Warrants outstanding (in shares) | shares 7,000,000          
Delta Warrants | Tranche Two            
Class of Warrant or Right [Line Items]            
Warrants outstanding (in shares) | shares 5,833,333          
Delta Warrants | Common Stock | Tranche One            
Class of Warrant or Right [Line Items]            
Class of warrants exercise price per share (in dollars per share) $ 10          
Delta Warrants | Common Stock | Tranche Two            
Class of Warrant or Right [Line Items]            
Class of warrants exercise price per share (in dollars per share) $ 12