XML 52 R34.htm IDEA: XBRL DOCUMENT v3.19.3
Debt - Components (Details) - USD ($)
$ in Thousands
Sep. 30, 2019
Dec. 31, 2018
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (5,861) (12,071)
Net carrying amount 99,264 93,054
Equity component 41,905 41,905
Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 47,500 47,500
Less: unamortized debt discount and debt issuance costs (1,335) (2,454)
Net carrying amount $ 46,165 $ 45,046