XML 49 R38.htm IDEA: XBRL DOCUMENT v3.20.2
Long-term Debt - Schedule of Interest (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Convertible Notes        
Debt Instrument [Line Items]        
Contractual interest expense $ 1,509   $ 1,895  
Amortization of debt discount and issuance costs 2,604   3,254  
Total interest expense 4,113   5,149  
Term Loan Agreement        
Debt Instrument [Line Items]        
Interest expense $ 4,100 $ 1,900 $ 7,000 $ 3,600