XML 15 R32.htm IDEA: XBRL DOCUMENT v3.20.1
Debt - Components (Details) - USD ($)
$ in Thousands
Mar. 31, 2020
Dec. 31, 2019
Convertible Debt    
Debt Instrument [Line Items]    
Principal $ 44,968 $ 105,125
Less: unamortized debt discount and debt issuance costs (738) (3,791)
Net carrying amount 44,230 101,334
Term Loan | Secured Debt    
Debt Instrument [Line Items]    
Principal 47,500 47,500
Less: unamortized debt discount and debt issuance costs (589) (962)
Net carrying amount $ 46,911 $ 46,538