v3.26.1
Long-Term Debt - Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands, shares in Millions
1 Months Ended 2 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended 30 Months Ended
Dec. 31, 2027
Sep. 30, 2026
Jun. 30, 2026
Jun. 30, 2026
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2026
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2028
Dec. 31, 2027
Dec. 31, 2028
Jun. 01, 2026
May 31, 2026
Dec. 31, 2025
Jan. 31, 2022
Line of Credit Facility [Line Items]                                
Amortization of debt issuance costs               $ 918 $ 1,143              
Gain on extinguishment of debt         $ 8,639 $ 0   8,639 0              
Aggregate principal, outstanding     $ 192,353 $ 192,353 $ 192,353     $ 192,353             $ 282,917  
Pre-Funded Warrants                                
Line of Credit Facility [Line Items]                                
Exercise price (in dollars per share)     $ 0.0001 $ 0.0001 $ 0.0001     $ 0.0001                
Common Stock | Pre-Funded Warrants                                
Line of Credit Facility [Line Items]                                
Number of shares called by warrants (in shares)     10.3 10.3 10.3     10.3                
Convertible Debt                                
Line of Credit Facility [Line Items]                                
Interest expense, debt         $ 2,000 3,200   $ 3,800 6,500              
Amortization of debt issuance costs         400 $ 600   900 $ 1,100              
Amortization of debt premium               8,200                
2028 Notes | 2028 First Lien Notes                                
Line of Credit Facility [Line Items]                                
Debt instrument, face amount                             $ 212,500  
Interest rate                             9.80%  
Debt redeemed, principal amount       $ 40,500                        
Stock issued during period, shares, conversion of convertible securities (in shares)       10.5                        
Gain on extinguishment of debt         6,800     6,800                
Aggregate principal, outstanding     $ 171,972 $ 171,972 171,972     171,972             $ 212,496  
2028 Notes | 2028 First Lien Notes | Forecast                                
Line of Credit Facility [Line Items]                                
Interest expense, debt             $ 8,427     $ 15,363 $ 16,853 $ 40,643        
Amortization of debt premium             $ (5,894)     $ (11,439) $ (12,120) $ (29,453)        
Repayments of debt   $ 30,400                            
Annual payment $ 10,100                              
2027 Notes                                
Line of Credit Facility [Line Items]                                
Debt instrument, face amount                               $ 425,000
Interest rate                               2.50%
Debt redeemed, principal amount     52,500                          
Gain on extinguishment of debt         1,800     1,800                
Aggregate principal, outstanding     $ 17,900 $ 17,900 $ 17,900     $ 17,900         $ 70,400      
Debt instrument, repurchased amount                             $ 354,600  
2027 Notes | Pre-Funded Warrants                                
Line of Credit Facility [Line Items]                                
Exercise price (in dollars per share)     $ 0.0001 $ 0.0001 $ 0.0001     $ 0.0001                
2027 Notes | Common Stock                                
Line of Credit Facility [Line Items]                                
Stock issued during period, shares, conversion of convertible securities (in shares)     7.0                          
2027 Notes | Common Stock | Pre-Funded Warrants                                
Line of Credit Facility [Line Items]                                
Number of shares called by warrants (in shares)     10.3 10.3 10.3     10.3                
2027 Notes | Convertible Debt                                
Line of Credit Facility [Line Items]                                
Interest rate                             2.50%  
Aggregate principal, outstanding     $ 17,942 $ 17,942 $ 17,942     $ 17,942             $ 70,421  
Debt instrument, repurchased amount                             354,600  
Other debt | Loans Payable                                
Line of Credit Facility [Line Items]                                
Debt instrument, face amount                           $ 2,500    
Interest rate                           11.00%    
Aggregate principal, outstanding     $ 2,439 $ 2,439 $ 2,439     $ 2,439             $ 0