XML 49 R34.htm IDEA: XBRL DOCUMENT v3.20.2
Debt - Components (Details) - USD ($)
$ in Thousands
Sep. 30, 2020
Jun. 30, 2020
May 12, 2020
Dec. 31, 2019
Debt Instrument [Line Items]        
Fair value of embedded derivative $ 2,900   $ 4,600  
Term Loan | Secured Debt        
Debt Instrument [Line Items]        
Principal amount       $ 47,500
Unamortized debt discount and debt issuance costs       (962)
Net carrying amount       46,538
2025 Notes | Convertible Debt        
Debt Instrument [Line Items]        
Principal amount 166,898   180,400  
Fair value of embedded derivative 2,929      
Unamortized debt discount (3,915)      
Unamortized issuance costs (3,073)      
Net carrying amount 162,839      
2022 Notes | Convertible Debt        
Debt Instrument [Line Items]        
Principal amount 0 $ 2 $ 45,000 105,125
Unamortized debt discount and debt issuance costs 0     (3,791)
Net carrying amount $ 0     $ 101,334