v3.24.3
Fair Value Measurement - Liabilities Measured at Fair Value (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Sep. 30, 2024
Sep. 30, 2023
Embedded derivatives        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period $ 5,414 $ 42,767 $ 4,423 $ 1,945
Additions 0 0 0 42,191
Change in fair value of liabilities 12,595 (27,398) 13,586 (28,767)
Balance at end of the period 18,009 15,369 18,009 15,369
SPA Warrant and Contingent Warrants | Warrant        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 141,296 0 0 0
Additions 0 0 95,094 0
Conversion to preferred stock (74,686) 0 (74,686) 0
Change in fair value of liabilities 200,439 0 246,641 0
Balance at end of the period 267,049 0 267,049 0
April, May, and December 2023 Warrants | Warrant        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 32,450 56,905 27,406 0
Additions 0 0 0 29,553
Change in fair value of liabilities 66,466 (34,065) 71,510 (6,713)
Balance at end of the period 98,916 22,840 98,916 22,840
Delayed Draw Term Loan | Debt        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 25,893 0 0 0
Additions 12,528 0 38,181 0
Change in fair value of liabilities 7,678 0 7,918 0
Balance at end of the period $ 46,099 $ 0 $ 46,099 $ 0