XML 51 R40.htm IDEA: XBRL DOCUMENT v3.20.2
Debt - Components of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2020
Dec. 31, 2019
Jan. 31, 2018
Debt Instrument [Line Items]      
1.75% convertible senior notes due 2025 $ 450,000 $ 450,000  
Debt issuance costs, unamortized (6,345) (7,043)  
Discount on debt (97,654) (107,017)  
Debt, long-term 346,001 $ 335,940  
Convertible Notes      
Debt Instrument [Line Items]      
Discount on debt $ (97,700)    
Convertible Notes | 1.75 convertible senior notes due 2025      
Debt Instrument [Line Items]      
Interest rate (as a percent) 1.75%    
Debt issuance costs, unamortized     $ (14,200)