XML 105 R89.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Narrative (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Mar. 25, 2021
USD ($)
$ / shares
shares
Mar. 24, 2020
Dec. 31, 2021
USD ($)
tradingDay
businessDay
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Oct. 20, 2020
USD ($)
Dec. 31, 2018
USD ($)
Jul. 23, 2018
USD ($)
Debt Instrument [Line Items]                
Inventory     $ 358,221 $ 49,158        
Cash, Cash Equivalents, Restricted Cash     718,281 945,820 $ 247,448   $ 439,055  
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     661,250          
2027 notes                
Debt Instrument [Line Items]                
Aggregate Principal Amount     575,000          
Senior Notes                
Debt Instrument [Line Items]                
Amortization of debt issuance costs     (4,654) (969) (724)      
Interest expense, debt     $ 2,600 2,113 2,516      
Senior Notes | 2023 notes                
Debt Instrument [Line Items]                
Stated Cash Interest Rate     1.75%          
Amortization of debt issuance costs     $ (189) (623) (724)      
Interest expense, debt     413 2,113 2,516      
Aggregate Principal Amount     23,512 25,626       $ 143,750
Repurchased face amount     120,238          
Senior Notes | 2025 notes                
Debt Instrument [Line Items]                
Amortization of debt issuance costs     (2,760) (346) 0      
Interest expense, debt     0 0 0      
Aggregate Principal Amount     $ 661,250 661,250   $ 661,250    
Senior Notes | 2027 notes                
Debt Instrument [Line Items]                
Stated Cash Interest Rate     0.50%          
Amortization of debt issuance costs     $ (1,705) 0 0      
Interest expense, debt     2,187 0 $ 0      
Aggregate Principal Amount $ 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 percentage of stock price trigger     130.00%          
Threshold consecutive trading days | tradingDay     30          
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              
Warehouse Agreement Borrowings | Western Alliance Bank                
Debt Instrument [Line Items]                
Stated Cash Interest Rate     3.00%          
Warehouse Agreement Borrowings | Western Alliance Bank | London Interbank Offered Rate (LIBOR)                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate     2.25%          
Warehouse Agreement Borrowings | Texas Capital Bank, N.A.                
Debt Instrument [Line Items]                
Stated Cash Interest Rate     2.95%          
Debt instrument, decrease in rate of interest accruing on outstanding principal     0.25%          
Warehouse Agreement Borrowings | Flagstar Bank, FSB                
Debt Instrument [Line Items]                
Stated Cash Interest Rate     3.00%          
Warehouse Agreement Borrowings | Flagstar Bank, FSB | London Interbank Offered Rate (LIBOR)                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate     2.00%          
Revolving Credit Facility                
Debt Instrument [Line Items]                
Total assets     $ 567,128 65,191        
Inventory     337,630 47,620        
Cash, Cash Equivalents, Restricted Cash     101,064 11,818        
Amortization of debt issuance costs     (324) (619)        
Interest expense, debt     $ 3,946 $ 643        
Revolving Credit Facility | Goldman Sachs Bank USA | Minimum                
Debt Instrument [Line Items]                
Debt instrument, floor rate of basis spread on variable rate   0.50% 0.30%          
Revolving Credit Facility | Goldman Sachs Bank USA | Maximum                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate     3.00%