Quarterly report pursuant to Section 13 or 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.7.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
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Debt Instrument [Line Items]        
Effective interest rate 10.18% 10.18% 10.18% 10.18%
Contractually stated interest expense $ 1,493 $ 1,509 $ 3,002 $ 3,019
Amortization of discount $ 4,912 $ 4,503 $ 9,799 $ 8,938