XML 82 R64.htm IDEA: XBRL DOCUMENT v3.20.4
Debt - Summary of Long Term Debt (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Dec. 31, 2016
day
Dec. 31, 2020
USD ($)
day
Dec. 31, 2019
USD ($)
Debt Instruments      
Long-term Debt, Total   $ 389,254 $ 149,505
Convertible Notes | Senior Secured Term Loan due 2026      
Debt Instruments      
Principal   400,000 0
Less: debt discount   (7,434) 0
Less: deferred financing   (5,592) 0
Long-term Debt, Total   386,974 0
Convertible Notes | Senior Secured Term Loan Due2023      
Debt Instruments      
Principal   0 150,000
Less: debt discount   0 (2,315)
Less: deferred financing   0 (311)
Long-term Debt, Total   0 147,374
Convertible Notes | Convertible Senior Notes 2016, Due 2023      
Debt Instruments      
Principal   2,825 2,825
Less: debt discount   (518) (659)
Less: deferred financing   (27) (35)
Long-term Debt, Total   $ 2,280 $ 2,131
Threshold percentage 130.00% 130.00%  
Threshold trading days   20 days  
Threshold consecutive trading days | day 30 30