v3.26.1
DEBT - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jan. 01, 2026
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 23, 2025
$ / shares
Apr. 03, 2023
USD ($)
day
$ / shares
Nov. 22, 2021
USD ($)
day
$ / shares
Nov. 19, 2021
USD ($)
$ / shares
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
Jun. 30, 2026
USD ($)
Jun. 30, 2025
USD ($)
$ / shares
shares
Dec. 31, 2025
USD ($)
Dec. 31, 2021
USD ($)
Mar. 29, 2023
$ / shares
Debt Instrument [Line Items]                            
Gain on extinguishment of debt             $ 0 $ 220,047   $ 0 $ 220,047      
2030 Private Placement Warrants                            
Debt Instrument [Line Items]                            
Class of warrant or right issued (in shares) | shares   439,919           439,919     439,919      
Warrant liability   $ 1,900         $ 2,200 $ 1,900   $ 2,200 $ 1,900      
2030 Private Placement Warrants | Risk-free interest rate                            
Debt Instrument [Line Items]                            
Measurement input             0.041     0.041   0.037    
2030 Private Placement Warrants | Black-Scholes-Merton Model | Volatility                            
Debt Instrument [Line Items]                            
Measurement input   1.186         1.184 1.186   1.184 1.186 1.216    
2028 Capped Call Options                            
Debt Instrument [Line Items]                            
Cost of capped calls           $ 66,700             $ 66,700  
Initial strike price (in dollars per share) | $ / shares     $ 584.856     $ 29.2428                
Cap price (in dollars per share) | $ / shares     993.15     $ 49.6575                
2030 Capped Call Options                            
Debt Instrument [Line Items]                            
Cost of capped calls                 $ 27,800          
Initial strike price (in dollars per share) | $ / shares     142.544                     $ 7.1272
Cap price (in dollars per share) | $ / shares     $ 223.60                     $ 11.1800
Secured Debt | 2030 Private Placement Warrants | Black Derman-Toy Lattice Model | Risk-free interest rate                            
Debt Instrument [Line Items]                            
Debt, measurement input   0.0379           0.0379     0.0379      
Secured Debt | 2030 Private Placement Warrants | Black-Scholes-Merton Model                            
Debt Instrument [Line Items]                            
Conversion price (in dollars per share) | $ / shares   $ 6.23           $ 6.23     $ 6.23      
Secured Debt | 2030 Private Placement Warrants | Black-Scholes-Merton Model | Risk-free interest rate                            
Debt Instrument [Line Items]                            
Debt, measurement input   0.0379           0.0379     0.0379      
2028 Convertible Notes | Convertible Notes                            
Debt Instrument [Line Items]                            
Face amount         $ 460,000                  
Fixed interest rate, annual         0.50%   0.50%     0.50%   0.50%    
Conversion ratio     0.0017098   0.0341965                  
Conversion price (in dollars per share) | $ / shares     $ 584.86   $ 29.24                  
Redemption price, percentage         100.00%                  
Proceeds from convertible notes         $ 445,700                  
Debt extinguishment amount                 163,000          
Gain on extinguishment of debt                 59,400          
Debt instrument, debt discount, effective percentage         0.90%                  
Term         7 years                  
Debt instrument carrying value             $ 68,206     $ 68,206   $ 68,206    
2028 Convertible Notes | Convertible Notes | Debt Instrument, Redemption, Period One                            
Debt Instrument [Line Items]                            
Conversion price, percentage         130.00%                  
2028 Convertible Notes | Convertible Notes | Debt Instrument, Redemption, Period Two                            
Debt Instrument [Line Items]                            
Threshold trading days | day         20                  
2028 Convertible Notes | Secured Debt                            
Debt Instrument [Line Items]                            
Debt conversion, converted instrument, amount   $ 228,800                        
2030 Convertible Notes | Convertible Notes                            
Debt Instrument [Line Items]                            
Face amount       $ 240,000                    
Fixed interest rate, annual       4.25%     4.25%     4.25%   4.25%    
Conversion ratio     0.0070153 0.1403066                    
Conversion price (in dollars per share) | $ / shares     $ 142.55 $ 7.1272                    
Redemption price, percentage       100.00%                    
Proceeds from convertible notes       $ 232,400         $ 99,800          
Term       7 years                    
Debt issuance costs       $ 7,600                    
Effective interest percentage       4.70%                    
Debt instrument carrying value             $ 118,690     $ 118,690   $ 118,690    
2030 Convertible Notes | Convertible Notes | 2030 Capped Call Options                            
Debt Instrument [Line Items]                            
Proceeds from convertible notes       $ 27,800                    
2030 Convertible Notes | Convertible Notes | Debt Instrument, Redemption, Period One                            
Debt Instrument [Line Items]                            
Conversion price, percentage       130.00%                    
2030 Convertible Notes | Convertible Notes | Debt Instrument, Redemption, Period Two                            
Debt Instrument [Line Items]                            
Threshold trading days | day       20                    
2030 Convertible Notes | Secured Debt                            
Debt Instrument [Line Items]                            
Debt conversion, converted instrument, amount   121,300                        
2028 Convertible Notes And 2030 Convertible Notes | Secured Debt                            
Debt Instrument [Line Items]                            
Gain on extinguishment of debt                       220,000    
Debt issuance costs   5,200           $ 5,200     $ 5,200      
Payment for debt extinguishment or debt prepayment cost   10,000                        
Debt instrument carrying value   343,900           343,900     343,900      
2030 Senior Secured Notes                            
Debt Instrument [Line Items]                            
Paid-in-kind interest $ 4,600                 4,600        
2030 Senior Secured Notes | Secured Debt                            
Debt Instrument [Line Items]                            
Face amount   155,400           155,400     155,400      
Effective interest percentage 17.20%                          
Debt instrument carrying value             $ 160,000     $ 160,000   $ 155,427    
Debt instrument, fair value   $ 132,000           $ 132,000     $ 132,000      
2030 Senior Secured Notes | Secured Debt | Paid-In-Kind Interest                            
Debt Instrument [Line Items]                            
Fixed interest rate, annual   12.00%           12.00%     12.00%      
2030 Senior Secured Notes | Secured Debt | Interest Paid In Cash                            
Debt Instrument [Line Items]                            
Fixed interest rate, annual   11.00%           11.00%     11.00%      
2030 Senior Secured Notes | Secured Debt | Black Derman-Toy Lattice Model | Yield                            
Debt Instrument [Line Items]                            
Debt, measurement input   0.146           0.146     0.146      
2030 Senior Secured Notes | Secured Debt | Black Derman-Toy Lattice Model | Volatility                            
Debt Instrument [Line Items]                            
Debt, measurement input   0.32           0.32     0.32      
2030 Senior Secured Notes | Secured Debt | Debt Instrument, Redemption, Period One                            
Debt Instrument [Line Items]                            
Redemption price, percentage   105.00%                        
2030 Senior Secured Notes | Secured Debt | Debt Instrument, Redemption, Period Two                            
Debt Instrument [Line Items]                            
Redemption price, percentage   102.50%                        
2030 Senior Secured Notes | Secured Debt | Debt Instrument, Redemption, Period Three                            
Debt Instrument [Line Items]                            
Redemption price, percentage   100.00%