Annual report pursuant to Section 13 and 15(d)

Stock Warrants and Earnout Shares - Additional Information (Details)

v3.22.4
Stock Warrants and Earnout Shares - Additional Information (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Oct. 07, 2022
USD ($)
tradingDay
$ / shares
shares
Aug. 10, 2021
USD ($)
$ / shares
shares
Feb. 23, 2021
shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share) | $ / shares       $ 0.0001 $ 0.0001  
Warrant liability | $       $ 28,783 $ 44,902  
Earnout shares liability | $       44,055 109,844  
Gain from change in fair value of warrants and earnout shares | $       $ 98,002 49,853 $ 0
Warrants exercised (in shares) | shares       0    
Common Stock            
Class of Warrant or Right [Line Items]            
Shares issued (in shares) | shares 11,044,232          
Issuance price (in dollars per share) | $ / shares $ 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        
Gain (loss) in fair value warrants liability | $       $ 18,600 5,900  
Public Warrants | Common Stock            
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001        
Class of warrants exercise price per share (in dollars per share) | $ / shares   $ 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        
Gain (loss) in fair value warrants liability | $         3,900  
Gain from change in fair value of warrants and earnout shares | $       $ 12,400    
Private Placement Warrants | Common Stock            
Class of Warrant or Right [Line Items]            
Common stock, par value (in dollars per share) | $ / shares   $ 0.0001        
Class of warrants exercise price per share (in dollars per share) | $ / shares   $ 11.50        
Earnout Shares            
Class of Warrant or Right [Line Items]            
Warrants and rights outstanding, term   10 years        
Percentage of shares held for sale       20.00%    
Number of trading days       30 days    
Earnout shares liability | $   $ 149,900        
Earnout shares vested | shares       0    
Gain from change in fair value of warrants and earnout shares | $       $ 65,800 $ 40,100  
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) | $ / shares       $ 12.00    
Earnout Shares | Tranche Two            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share) | $ / shares       18.00    
Earnout Shares | Tranche Three            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share) | $ / shares       24.00    
Earnout Shares | Tranche Four            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share) | $ / shares       32.00    
Earnout Shares | Tranche Five            
Class of Warrant or Right [Line Items]            
Weighted average price per share (in dollars per share) | $ / shares       $ 50.00    
Delta Warrants            
Class of Warrant or Right [Line Items]            
Warrant liability | $ $ 16,100          
Gain from change in fair value of warrants and earnout shares | $       $ 1,200    
Warrant | 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]            
Warrant | shares 7,000,000          
Delta Warrants | Tranche Two            
Class of Warrant or Right [Line Items]            
Warrant | 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) | $ / shares $ 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) | $ / shares $ 12