XML 60 R35.htm IDEA: XBRL DOCUMENT v3.19.3
Debt - Interest Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Convertible Debt        
Debt Instrument [Line Items]        
Contractual interest expense $ 1,446 $ 1,446 $ 4,337 $ 4,337
Amortization of debt discount 1,955 1,955 5,866 5,866
Amortization of debt issuance costs 115 115 344 344
Total interest expense 3,516 3,516 10,547 10,547
Term Loan | Secured Debt        
Debt Instrument [Line Items]        
Contractual interest expense 1,225 1,185 3,615 3,452
Amortization of debt discount 333 332 999 998
Amortization of debt issuance costs 40 40 120 120
Total interest expense $ 1,598 $ 1,557 $ 4,734 $ 4,570