v3.26.1
Fair Value Measurement - Liabilities Measured at Fair Value (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Loss on contingently issuable securities $ (35,662) $ 0 $ (35,662) $ 0
Embedded Derivatives        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 62,784 27,462 228,719 44,396
Change in fair value of Term Loan 70,447 24,264 (95,488) 7,330
Balance at end of the period 0 51,639 0 51,639
SPA Warrant and Contingent Warrants | Public and private placement warrants        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 203,485 146,793 470,715 266,630
Change in fair value of Term Loan 50,546 52,191 (216,684) 34,539
Conversion to preferred stock 0 0 0 (102,185)
Balance at end of the period 254,031 198,984 254,031 198,984
April, May and December 2023 Warrants | Public and private placement warrants        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 112,777 124,766 313,253 189,322
Change in fair value of Term Loan 22,585 57,898 (146,140) 12,110
Exercised warrants 0 (1,571) (31,751) (20,339)
Balance at end of the period 135,362 181,093 135,362 181,093
Delayed Draw Term Loan | Debt        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 113,120 99,433 150,427 76,188
Additions - January Draw 0 0 0 17,312
Prepayment of the Term Loan 0 (28,582) 0 (28,582)
Change in fair value of Term Loan 50,163 (9,146) 12,856 (3,213)
Balance at end of the period 163,283 61,705 163,283 61,705
November 2025 Convertible Note | Embedded Derivatives        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Extinguishment of the Convertible Notes embedded derivatives 0 (87) 0 (87)
Reclassification of November 2025 Convertible Note embedded derivative (133,231) 0 (133,231) 0
Contingently Issuable Securities        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Balance at beginning of the period 0 0 0 0
Loss on contingently issuable securities 35,662 0 35,662 0
Balance at end of the period $ 35,662 $ 0 $ 35,662 $ 0