XML 96 R80.htm IDEA: XBRL DOCUMENT v3.20.4
Debt - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Oct. 20, 2020
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Jul. 23, 2018
Dec. 31, 2017
Debt Instrument [Line Items]            
Inventory   $ 49,158 $ 74,590      
Cash, Cash Equivalents, Restricted Cash   945,820 247,448 $ 439,055   $ 212,658
Proceeds from issuance of convertible senior notes, net of issuance costs   647,486 0 138,953    
Gain (Loss) on Extinguishment of Debt   (4,634) 0 0    
1.75% Convertible Senior Notes due 2023            
Debt Instrument [Line Items]            
Aggregate Principal Amount   25,626        
Convertible Senior Notes due 2025            
Debt Instrument [Line Items]            
Aggregate Principal Amount   661,250        
Revolving Credit Facility            
Debt Instrument [Line Items]            
Net Assets   65,191 16,200      
Inventory   47,620 7,456      
Cash, Cash Equivalents, Restricted Cash   11,818 5,663      
Amortization of debt issuance costs   (619) (256)      
Interest expense, debt   $ 643 17      
Western Alliance Bank | Warehouse Agreement Borrowings            
Debt Instrument [Line Items]            
Stated Cash Interest Rate   3.25%        
Western Alliance Bank | Warehouse Agreement Borrowings | London Interbank Offered Rate (LIBOR)            
Debt Instrument [Line Items]            
Debt instrument, basis spread on variable rate   2.00%        
Texas Capital Bank, N.A. | Warehouse Agreement Borrowings            
Debt Instrument [Line Items]            
Stated Cash Interest Rate   3.35%        
Debt instrument, decrease in rate of interest accruing on outstanding principal   0.25%        
Flagstar Bank, FSB | Warehouse Agreement Borrowings            
Debt Instrument [Line Items]            
Stated Cash Interest Rate   3.00%        
Flagstar Bank, FSB | Warehouse Agreement Borrowings | London Interbank Offered Rate (LIBOR)            
Debt Instrument [Line Items]            
Debt instrument, basis spread on variable rate   2.00%        
Minimum | Goldman Sachs Bank USA | Revolving Credit Facility            
Debt Instrument [Line Items]            
Debt instrument, floor rate of basis spread on variable rate   0.50%        
Maximum | Goldman Sachs Bank USA | Revolving Credit Facility            
Debt Instrument [Line Items]            
Debt instrument, basis spread on variable rate   2.65%        
Senior Notes            
Debt Instrument [Line Items]            
Amortization of debt issuance costs   $ (969) (724) (304)    
Interest expense, debt   $ 2,113 2,516 1,097    
Senior Notes | 1.75% Convertible Senior Notes due 2023            
Debt Instrument [Line Items]            
Stated Cash Interest Rate   1.75%        
Amortization of debt issuance costs   $ (623) (724) (304)    
Interest expense, debt   2,113 2,516 1,097    
Aggregate Principal Amount   $ 25,626 143,750   $ 143,750  
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger   130.00%        
Debt Instrument, Repurchased Face Amount $ 116,914          
Debt Instrument, Repurchase Amount 103,335          
Gain (Loss) on Extinguishment of Debt 4,586 $ 48        
Debt Conversion, Converted Instrument, Amount   1,069        
Senior Notes | Convertible Senior Notes due 2025            
Debt Instrument [Line Items]            
Amortization of debt issuance costs   (346) 0 0    
Interest expense, debt   0 $ 0 $ 0    
Aggregate Principal Amount 661,250 $ 661,250        
Proceeds from issuance of convertible senior notes, net of issuance costs 647,486          
Debt Instrument, Convertible, Carrying Amount of Equity Component 165,257          
Debt Issuance Costs, Gross, Carrying Amount of Equity Component $ 3,513