XML 67 R53.htm IDEA: XBRL DOCUMENT v3.19.1
Debt - Components (Details) - USD ($)
$ in Thousands
Dec. 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Net carrying amount $ 152,625  
Convertible Debt    
Debt Instrument [Line Items]    
Principal 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (12,071) (20,352)
Net carrying amount 93,054 84,773
Equity component 41,905 41,905
Term Loan [Member] | Secured Debt    
Debt Instrument [Line Items]    
Principal 47,500 48,000
Less: unamortized debt discount and debt issuance costs (2,454) (3,945)
Net carrying amount $ 45,046 $ 44,055