Quarterly report pursuant to Section 13 or 15(d)

Stock Warrants and Earnout Shares - Additional Information (Details)

v3.23.2
Stock Warrants and Earnout Shares - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Oct. 07, 2022
USD ($)
tradingDay
$ / shares
shares
Aug. 10, 2021
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
$ / shares
Class of Warrant or Right [Line Items]              
Common stock, par value (in dollars per share)     $ 0.0001   $ 0.0001   $ 0.0001
Common stock warrants exercised | shares     0   0    
Common stock warrant liabilities | $     $ 113,774   $ 113,774   $ 28,783
Gain (Loss) from change in fair value of warrants and earnout shares | $     $ (180,737) $ 42,698 $ (202,780) $ 59,512  
Earnout shares vested | shares     0   0    
Earnout shares liability | $     $ 161,248   $ 161,248   $ 44,055
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          
Common stock warrant liabilities | $   $ 32,800          
Gain (Loss) from change in fair value of warrants and earnout shares | $     (34,500) 9,700 (37,400) 8,200  
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          
Common stock warrant liabilities | $   $ 21,900          
Gain (Loss) from change in fair value of warrants and earnout shares | $     (23,100) 6,500 (25,000) 5,500  
Earnout Shares              
Class of Warrant or Right [Line Items]              
Warrants and rights outstanding, term   10 years          
Gain (Loss) from change in fair value of warrants and earnout shares | $     $ (104,200) $ 26,400 $ (117,200) $ 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 warrant liabilities (Delta)              
Class of Warrant or Right [Line Items]              
Common stock warrant liabilities | $ $ 16,100            
Gain (Loss) from change in fair value of warrants and earnout shares | $     $ (18,400)   $ (22,600)    
Class of warrant or right, shares outstanding (in shares) | shares 12,833,333            
Class of warrant or right, value cap adjustment period | tradingDay 30            
Class of warrant or right, value cap adjustment period, stock price trigger, percent 1.50            
Class of warrant or right, value cap adjustment period, threshold business days | tradingDay 10            
Common stock warrant liabilities (Delta) | Tranche One              
Class of Warrant or Right [Line Items]              
Class of warrant or right, shares outstanding (in shares) | shares 7,000,000            
Common stock warrant liabilities (Delta) | Tranche Two              
Class of Warrant or Right [Line Items]              
Class of warrant or right, shares outstanding (in shares) | shares 5,833,333            
Common Stock              
Class of Warrant or Right [Line Items]              
Lock-up and transfer of common shares (in shares) | shares   17,130,000          
Stock issued during period (in shares) | shares 11,044,232            
Shares issued, price per share (in dollars per share) $ 5.4327            
Shares sold and issued in connection with agreement | $ $ 60,000            
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    
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 | Common stock warrant liabilities (Delta) | Tranche One              
Class of Warrant or Right [Line Items]              
Class of warrants exercise price per share (in dollars per share) $ 10            
Common Stock | Common stock warrant liabilities (Delta) | Tranche Two              
Class of Warrant or Right [Line Items]              
Class of warrants exercise price per share (in dollars per share) $ 12