XML 47 R36.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt - Components (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (16,212) (20,352)
Net carrying amount 88,913 84,773
Equity component 41,905 41,905
Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 48,000 48,000
Less: unamortized debt discount and debt issuance costs (3,199) (3,945)
Net carrying amount $ 44,801 $ 44,055