XML 86 R76.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Narrative (Details)
3 Months Ended
Apr. 05, 2021
$ / shares
shares
Mar. 31, 2022
USD ($)
employee
tradingDay
businessDay
Mar. 31, 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   $ 245,487,000   $ 358,221,000        
Cash, cash equivalents, restricted cash and restricted cash equivalents   648,727,000 $ 1,343,045,000 718,281,000   $ 945,820,000    
Adjustments to additional paid in capital, convertible debt, capped call transaction   $ 62,647,000            
Debt Instrument, Redemption, Period Two                
Debt Instrument [Line Items]                
Conversion price, percentage   98.00%            
1.75% Convertible Senior Notes due 2023                
Debt Instrument [Line Items]                
Aggregated principal amount   $ 23,512,000            
0% Convertible Senior Notes due 2025                
Debt Instrument [Line Items]                
Aggregated principal amount   661,250,000            
0.5% Convertible Senior Notes Due 2027                
Debt Instrument [Line Items]                
Aggregated principal amount   575,000,000            
Revolving Credit Facility                
Debt Instrument [Line Items]                
Net assets   413,657,000   567,128,000        
Inventory   231,023,000   337,630,000        
Cash, cash equivalents, restricted cash and restricted cash equivalents   146,582,000   101,064,000        
Amortization of debt issuance costs   92,000 86,000          
Interest expense, debt   $ 1,508,000 340,000          
Western Alliance Bank | Warehouse Agreement Borrowings                
Debt Instrument [Line Items]                
Debt instrument, interest rate, stated percentage   3.00%            
Western Alliance Bank | Warehouse Agreement Borrowings | London Interbank Offered Rate (LIBOR)                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate   2.25%            
Texas Capital Bank, N.A. | Warehouse Agreement Borrowings                
Debt Instrument [Line Items]                
Debt instrument, interest rate, stated percentage   2.95%            
Decrease in rate of interest accruing on outstanding principal   0.25%            
Flagstar Bank, FSB | Warehouse Agreement Borrowings                
Debt Instrument [Line Items]                
Debt instrument, interest rate, stated percentage   3.00%            
Facility termination period   30 days            
Flagstar Bank, FSB | Warehouse Agreement Borrowings | London Interbank Offered Rate (LIBOR)                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate   2.00%            
Goldman Sachs Bank USA | Revolving Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, term   6 months            
Goldman Sachs Bank USA | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate                
Debt Instrument [Line Items]                
Debt instrument, basis points | employee   11.448            
Minimum | Goldman Sachs Bank USA | Revolving Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, floor rate of basis spread on variable rate   0.30%            
Maximum | Goldman Sachs Bank USA | Revolving Credit Facility                
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 789,000          
Interest expense, debt   $ 822,000 139,000          
Senior Notes | 1.75% Convertible Senior Notes due 2023                
Debt Instrument [Line Items]                
Debt instrument, interest rate, stated percentage   1.75%            
Amortization of debt issuance costs   $ 38,000 72,000          
Interest expense, debt   103,000 104,000          
Aggregated principal amount   23,512,000   23,512,000       $ 143,750,000
Repurchased face amount   $ 120,238,000            
Threshold trading days | tradingDay   20            
Threshold consecutive trading days | tradingDay   30            
Threshold percentage of stock price trigger   130.00%            
Senior Notes | 0% Convertible Senior Notes due 2025                
Debt Instrument [Line Items]                
Amortization of debt issuance costs   $ 690,000 690,000          
Interest expense, debt   0 0          
Aggregated principal amount   $ 661,250,000   661,250,000     $ 661,250,000  
Senior Notes | 0.5% Convertible Senior Notes Due 2027                
Debt Instrument [Line Items]                
Debt instrument, interest rate, stated percentage   0.50%            
Amortization of debt issuance costs   $ 560,000 27,000          
Interest expense, debt   719,000 $ 35,000          
Aggregated principal amount   $ 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 | 0.5% Convertible Senior Notes Due 2027 | Call Option | Capped Call Transaction                
Debt Instrument [Line Items]                
Capped call price (in dollars per share) | $ / shares $ 93.53              
Senior Notes | Maximum | 0.5% Convertible Senior Notes Due 2027 | Call Option | Capped Call Transaction                
Debt Instrument [Line Items]                
Capped call price (in dollars per share) | $ / shares $ 138.56