v3.24.2.u1
Subsequent Events (Details) - USD ($)
$ in Thousands
Jul. 29, 2024
Jul. 25, 2024
Jun. 30, 2024
Dec. 31, 2023
Convertible senior notes        
Subsequent Events [Line Items]        
Net carrying amount     $ 527,000 $ 527,000
DIP Facility | Subsequent Event | Base Rate        
Subsequent Events [Line Items]        
Basis spread on interest rate 0.0750      
DIP Facility | Subsequent Event | Base Rate | Minimum        
Subsequent Events [Line Items]        
Basis spread on interest rate 0.0175      
DIP Facility | Subsequent Event | Secured Overnight Financing Rate (SOFR)        
Subsequent Events [Line Items]        
Basis spread on interest rate 0.0850      
DIP Facility | Subsequent Event | Secured Overnight Financing Rate (SOFR) | Minimum        
Subsequent Events [Line Items]        
Basis spread on interest rate 0.0075      
DIP Facility | Secured Debt | Subsequent Event        
Subsequent Events [Line Items]        
Aggregate principal amount $ 64,000      
Initial borrowings outstanding 60,000      
Subsequent borrowings outstanding $ 4,000      
Interest rate on borrowings outstanding 2.00%      
2025 Notes | Convertible senior notes | Subsequent Event        
Subsequent Events [Line Items]        
Net carrying amount   $ 380,000    
2030 Notes | Convertible senior notes | Subsequent Event        
Subsequent Events [Line Items]        
Net carrying amount   147,000    
Second Amended Credit Agreement | Line of Credit | Subsequent Event        
Subsequent Events [Line Items]        
Net carrying amount   $ 414,300