XML 104 R91.htm IDEA: XBRL DOCUMENT v3.22.4
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Mar. 25, 2021
$ / shares
shares
Oct. 20, 2020
USD ($)
Dec. 31, 2022
USD ($)
employee
tradingDay
businessDay
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Apr. 05, 2021
USD ($)
Dec. 31, 2019
USD ($)
Jul. 23, 2018
USD ($)
Debt Instrument [Line Items]                
Inventory     $ 114,273 $ 358,221        
Cash, Cash Equivalents, Restricted Cash     242,246 718,281 $ 945,820   $ 247,448  
Repayments of senior debt     (83,614) 0 0      
Gain on extinguishment of convertible senior notes     57,193 0 $ 0      
Adjustments to additional paid in capital, convertible debt, capped call transaction     $ 62,647          
Debt Instrument, Redemption, Period Two                
Debt Instrument [Line Items]                
Conversion price, percentage     98.00%          
2023 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     $ 23,512          
2025 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     518,728          
2027 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     575,000          
Senior Notes | 2023 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     23,512 23,512       $ 143,750
Repurchased face amount     120,238          
Senior Notes | 2025 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount   $ 661,250 518,728 661,250        
Repurchased face amount   142,522            
Repayments of senior debt   (83,614)            
Gain on extinguishment of convertible senior notes   $ 57,193            
Senior Notes | 2027 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     $ 575,000 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              
Revolving Credit Facility                
Debt Instrument [Line Items]                
Total assets     $ 214,707 567,128        
Inventory     113,684 337,630        
Cash, Cash Equivalents, Restricted Cash     $ 98,781 $ 101,064        
Revolving Credit Facility | Goldman Sachs Bank USA | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate, basis points | employee     11.448          
Revolving Credit Facility | Minimum | Goldman Sachs Bank USA                
Debt Instrument [Line Items]                
Debt instrument, floor rate of basis spread on variable rate     0.30%          
Revolving Credit Facility | Maximum | Goldman Sachs Bank USA                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate     3.00%