Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Fair Value of Convertible Debt (Details)

v3.10.0.1
Fair Value Measurements - Fair Value of Convertible Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Fair Value | Non recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Convertible debt fair value $ 491,177 $ 430,301
Carrying Value | Non recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Convertible debt fair value 286,908 281,199
Term Loans | Fair Value | Recurring | Level 2    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Term Loans 303,280 303,806
Term Loans | Carrying Value | Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Term Loans $ 311,515 $ 317,377