Quarterly report pursuant to Section 13 or 15(d)

Stock Warrants and Earnout Shares - Additional Information (Details)

v3.24.2.u1
Stock Warrants and Earnout Shares - Additional Information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Oct. 07, 2022
USD ($)
tradingDay
tranche
$ / shares
shares
Aug. 10, 2021
USD ($)
$ / shares
shares
Jun. 30, 2024
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
Dec. 31, 2023
USD ($)
$ / shares
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   $ 0.0001
Common stock warrants exercised | shares     0   0    
Warrant liability | $     $ 40,871   $ 40,871   $ 62,936
Gain (Loss) from change in fair value of warrants and earnout shares | $     $ 9,814 $ (180,737) $ 48,841 $ (202,780)  
Earnout shares vested | shares     0   0    
Earnout shares liability | $     $ 69,281   $ 69,281   $ 95,969
Number of tranches | tranche 2            
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) from change in fair value of warrants and earnout shares | $     3,600 (34,500) 11,300 (37,400)  
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) from change in fair value of warrants and earnout shares | $     2,400 (23,100) 7,500 (25,000)  
Earnout Shares Liability              
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 | $     $ 3,700 (104,200) $ 26,700 (117,200)  
Percentage of shares held for sale         20.00%    
Earnout shares liability | $   $ 149,900          
Earnout Shares Liability | Minimum              
Class of Warrant or Right [Line Items]              
Number of trading days         20 days    
Earnout Shares Liability | Maximum              
Class of Warrant or Right [Line Items]              
Number of trading days         30 days    
Earnout Shares Liability | Tranche One              
Class of Warrant or Right [Line Items]              
Weighted average price per share (in dollars per share)     $ 12.00   $ 12.00    
Earnout Shares Liability | Tranche Two              
Class of Warrant or Right [Line Items]              
Weighted average price per share (in dollars per share)     18.00   18.00    
Earnout Shares Liability | Tranche Three              
Class of Warrant or Right [Line Items]              
Weighted average price per share (in dollars per share)     24.00   24.00    
Earnout Shares Liability | Tranche Four              
Class of Warrant or Right [Line Items]              
Weighted average price per share (in dollars per share)     32.00   32.00    
Earnout Shares Liability | 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]              
Warrants and rights outstanding, term 10 years            
Warrant liability | $ $ 16,100            
Gain (Loss) from change in fair value of warrants and earnout shares | $     $ 100 $ (18,400) $ 3,300 $ (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          
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          
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