XML 90 R78.htm IDEA: XBRL DOCUMENT v3.22.2.2
Debt - Narrative (Details)
3 Months Ended 9 Months Ended
Apr. 05, 2021
USD ($)
$ / shares
shares
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
employee
tradingDay
businessDay
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Mar. 25, 2021
USD ($)
Dec. 31, 2020
USD ($)
Oct. 20, 2020
USD ($)
Jul. 23, 2018
USD ($)
Debt Instrument [Line Items]                    
Inventory   $ 301,231,000   $ 301,231,000   $ 358,221,000        
Total cash, cash equivalents, and restricted cash   403,716,000 $ 637,246,000 403,716,000 $ 637,246,000 718,281,000   $ 945,820,000    
Adjustments to additional paid in capital, convertible debt, capped call transaction   62,647,000   $ 62,647,000            
Debt Instrument, Redemption, Period Two                    
Debt Instrument [Line Items]                    
Conversion price, percentage       98.00%            
2023 notes as if converted                    
Debt Instrument [Line Items]                    
Aggregated principal amount   23,512,000   $ 23,512,000            
2025 notes as if converted                    
Debt Instrument [Line Items]                    
Aggregated principal amount   661,250,000   661,250,000            
2027 notes as if converted                    
Debt Instrument [Line Items]                    
Aggregated principal amount   575,000,000   575,000,000            
Revolving Credit Facility                    
Debt Instrument [Line Items]                    
Net assets   419,269,000   419,269,000   567,128,000        
Inventory   297,469,000   297,469,000   337,630,000        
Total cash, cash equivalents, and restricted cash   72,914,000   72,914,000   101,064,000        
Amortization of debt issuance costs   95,000 81,000 280,000 217,000          
Interest expense, debt   2,980,000 1,375,000 $ 5,731,000 2,328,000          
Revolving Credit Facility | Goldman Sachs Bank USA                    
Debt Instrument [Line Items]                    
Debt instrument, term       6 months            
Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Goldman Sachs Bank USA                    
Debt Instrument [Line Items]                    
Debt instrument, basis points | employee       11.448            
Minimum | Revolving Credit Facility | Goldman Sachs Bank USA                    
Debt Instrument [Line Items]                    
Debt instrument, floor rate of basis spread on variable rate       0.30%            
Maximum | Revolving Credit Facility | Goldman Sachs Bank USA                    
Debt Instrument [Line Items]                    
Debt instrument, basis spread on variable rate       3.00%            
Senior Notes                    
Debt Instrument [Line Items]                    
Amortization of debt issuance costs   1,288,000 1,291,000 $ 3,863,000 3,366,000          
Interest expense, debt   822,000 822,000 2,465,000 1,779,000          
Senior Notes | 2023 notes as if converted                    
Debt Instrument [Line Items]                    
Amortization of debt issuance costs   38,000 41,000 113,000 151,000          
Interest expense, debt   103,000 103,000 309,000 311,000          
Aggregated principal amount   23,512,000   23,512,000   23,512,000       $ 143,750,000
Repurchased face amount   120,238,000   120,238,000            
Senior Notes | 2025 notes as if converted                    
Debt Instrument [Line Items]                    
Amortization of debt issuance costs   690,000 690,000 2,070,000 2,070,000          
Interest expense, debt   0 0 0 0          
Aggregated principal amount   661,250,000   661,250,000   661,250,000     $ 661,250,000  
Senior Notes | 2027 notes as if converted                    
Debt Instrument [Line Items]                    
Amortization of debt issuance costs   560,000 560,000 1,680,000 1,145,000          
Interest expense, debt   719,000 $ 719,000 2,156,000 $ 1,468,000          
Aggregated principal amount $ 575,000,000 $ 575,000,000   $ 575,000,000   $ 575,000,000 $ 575,000,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 as if converted | Call Option | Capped Call Transaction                    
Debt Instrument [Line Items]                    
Capped call price (in dollars per share) | $ / shares $ 93.53                  
Senior Notes | Maximum | 2027 notes as if converted | Call Option | Capped Call Transaction                    
Debt Instrument [Line Items]                    
Capped call price (in dollars per share) | $ / shares $ 138.56