XML 48 R37.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt - Components (Details) - USD ($)
$ in Thousands
Sep. 30, 2018
Dec. 31, 2017
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (14,142) (20,352)
Net carrying amount 90,983 84,773
Equity component 41,905 41,905
Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 47,500 48,000
Less: unamortized debt discount and debt issuance costs (2,827) (3,945)
Net carrying amount $ 44,673 $ 44,055