XML 96 R83.htm IDEA: XBRL DOCUMENT v3.24.0.1
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Oct. 20, 2023
USD ($)
Mar. 25, 2021
$ / shares
shares
Dec. 31, 2023
USD ($)
tradingDay
businessDay
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Apr. 05, 2021
USD ($)
Dec. 31, 2020
USD ($)
Oct. 20, 2020
USD ($)
Debt Instrument [Line Items]                
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents     $ 151,000 $ 242,246 $ 718,281   $ 945,820  
Repayments of senior debt     (241,808) (83,614) 0      
Gain on extinguishment of convertible senior notes     94,019 57,193 0      
Adjustments to additional paid in capital, convertible debt, capped call transaction     62,647          
Repayments of convertible debt     23,512 0 0      
Payments of debt issuance costs     $ 2,338 0 $ 0      
Debt Instrument, Redemption, Period Two                
Debt Instrument [Line Items]                
Conversion price, percentage     98.00%          
2025 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     $ 193,445          
2027 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     503,106          
Senior Notes | 2023 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount       23,512        
Senior Notes | 2025 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     193,445 518,728       $ 661,250
Senior Notes | 2027 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     $ 503,106 $ 575,000   $ 575,000    
Common stock covered under capped calls (in shares) | shares   6,147,900            
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              
Line of Credit | 2025 notes                
Debt Instrument [Line Items]                
Repurchased face amount 5,000              
Line of Credit | 2027 notes                
Debt Instrument [Line Items]                
Repurchased face amount 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.97%              
Line of Credit | First Lien Term Loan Facility | Period 3 | Secured Overnight Financing Rate (SOFR) | Revolving Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate 52500.00%              
Line of Credit | First Lien Term Loan Facility | Period 1 | Secured Overnight Financing Rate (SOFR) | Revolving Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate 57500.00%              
Line of Credit | First Lien Term Loan Facility | Period 2 | Secured Overnight Financing Rate (SOFR) | Revolving Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate 55000.00%