Quarterly report pursuant to Section 13 or 15(d)

Debt Instruments - Schedule of Long-Term Debt (Details)

v3.10.0.1
Debt Instruments - Schedule of Long-Term Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
May 24, 2018
Dec. 31, 2017
Dec. 09, 2015
Debt Instrument [Line Items]        
Unamortized discount and deferred issuance costs $ (94,733)   $ (71,986)  
Long-term debt, net 250,267   273,014  
Convertible debt | 1.75% convertible senior notes due 2020        
Debt Instrument [Line Items]        
1.75% convertible senior notes $ 152,100   345,000  
Long-term debt, net       $ 152,100
Interest rate 1.75%     1.75%
Convertible debt | 1.75% convertible senior notes due 2023        
Debt Instrument [Line Items]        
1.75% convertible senior notes $ 192,900   $ 0  
Interest rate 1.75% 1.75%