XML 46 R35.htm IDEA: XBRL DOCUMENT v3.19.2
Debt - Components (Details) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 105,125 $ 105,125
Less: unamortized debt discount and debt issuance costs (7,931) (12,071)
Net carrying amount 97,194 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,708) (2,454)
Net carrying amount $ 45,792 $ 45,046