Annual report pursuant to Section 13 and 15(d)

Debt Instruments - Summary of the effective interest rate, contractually stated interest expense and costs related to amortization of discount for the Notes (Details)

v3.8.0.1
Debt Instruments - Summary of the effective interest rate, contractually stated interest expense and costs related to amortization of discount for the Notes (Details) - Convertible debt - Notes - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Effective interest rate 10.18% 10.18%
Contractually stated interest expense $ 6,029 $ 6,046
Amortization of discount $ 20,153 $ 18,315