XML 45 R34.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Components (Details) - USD ($)
$ in Thousands
Mar. 31, 2018
Dec. 31, 2017
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (18,282) (20,352)
Net carrying amount 86,843 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,572) (3,945)
Net carrying amount $ 44,428 $ 44,055