XML 91 R74.htm IDEA: XBRL DOCUMENT v3.8.0.1
Convertible Notes and Credit Facilities Convertible Notes and Credit Facilities - Convertible Roll Forward (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Principal amount $ 128,250 $ 128,250
Less: Debt discount, net of amortization (17,404) (22,302)
Less: Debt issuance costs, net of amortization (2,098) (2,689)
Carrying amount $ 108,748 $ 103,259
Remaining amortization period (years) 2 years 10 months 28 days 3 years 10 months 28 days
Effective interest rate on liability component 9.94% 9.94%
Carrying amount $ 26,062 $ 26,062