XML 104 R88.htm IDEA: XBRL DOCUMENT v3.25.0.1
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Oct. 20, 2023
USD ($)
Mar. 25, 2021
$ / shares
shares
Sep. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
tradingDay
businessDay
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Apr. 05, 2021
USD ($)
Oct. 20, 2020
USD ($)
Debt Instrument [Line Items]                  
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents       $ 124,972 $ 151,000 $ 242,246 $ 718,281    
Repayments of senior debt       (106,953) (241,808) (83,614)      
Gain on extinguishment of convertible senior notes       12,000 94,019 57,193      
Adjustments to additional paid in capital, convertible debt, capped call transaction       62,647          
Repayments of convertible debt       0 23,512 0      
Payments of debt issuance costs       $ 2,482 2,338 $ 0      
Debt Instrument, Redemption, Period Two                  
Debt Instrument [Line Items]                  
Conversion price, percentage       98.00%          
2025 notes                  
Debt Instrument [Line Items]                  
Long-Term Debt, Fair Value       $ 69,933 164,113        
2027 notes                  
Debt Instrument [Line Items]                  
Long-Term Debt, Fair Value       388,594 325,927        
Senior Notes | 2025 notes                  
Debt Instrument [Line Items]                  
Aggregate Principal Amount       73,759 193,445       $ 661,250
Long-Term Debt       73,516 192,002        
Senior Notes | 2027 notes                  
Debt Instrument [Line Items]                  
Aggregate Principal Amount       503,106 503,106     $ 575,000  
Common stock covered under capped calls (in shares) | shares   6,147,900              
Long-Term Debt       $ 498,691 496,735        
Senior Notes | Convertible Senior Notes | Debt Instrument, Redemption, Period One                  
Debt Instrument [Line Items]                  
Threshold trading days | tradingDay       20          
Threshold consecutive trading days | tradingDay       30          
Threshold percentage of stock price trigger       130.00%          
Senior Notes | Convertible Senior Notes | Debt Instrument, Redemption, Period Two                  
Debt Instrument [Line Items]                  
Threshold trading days | businessDay       5          
Threshold consecutive trading days | tradingDay       5          
Senior Notes | Minimum | 2027 notes | Call Option | Capped Call Transaction                  
Debt Instrument [Line Items]                  
Strike and cap price (in dollars per share) | $ / shares   $ 93.53              
Senior Notes | Maximum | 2027 notes | Call Option | Capped Call Transaction                  
Debt Instrument [Line Items]                  
Strike and cap price (in dollars per share) | $ / shares   $ 138.56              
Line of Credit                  
Debt Instrument [Line Items]                  
Repayments of convertible debt $ 57,075                
Payments of debt issuance costs 2,471                
Payments of financing costs       $ 4,820          
Line of Credit | 2025 notes                  
Debt Instrument [Line Items]                  
Principal 5,000                
Line of Credit | 2027 notes                  
Debt Instrument [Line Items]                  
Principal 71,894                
Line of Credit | First Lien Term Loan Facility                  
Debt Instrument [Line Items]                  
Borrowing Capacity $ 250,000                
Redemption price, percent 101.00%                
Long-term debt term 5 years                
Cash and cash equivalent required $ 75                
Interest rate 11.43%                
Proceeds from Lines of Credit     $ 125,000            
Line of Credit Facility, Remaining Borrowing Capacity $ 125,000                
Line of Credit | First Lien Term Loan Facility | Period 3 | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, basis spread on variable rate 5.25%                
Line of Credit | First Lien Term Loan Facility | Period 1 | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, basis spread on variable rate 5.75%                
Line of Credit | First Lien Term Loan Facility | Period 2 | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, basis spread on variable rate 5.50%                
Secured Debt | Term Loan                  
Debt Instrument [Line Items]                  
Aggregate Principal Amount       247,500 124,688        
Unamortized Debt Discount       2,571 0        
Unamortized Debt Issuance Costs       1,585 272        
Long-Term Debt       $ 243,344 $ 124,416