XML 77 R58.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Deferred Financing Costs (Details Textual) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Sep. 30, 2021
Debt Instrument [Line Items]        
Deferred financing costs related to convertible notes       $ 3,700
Amortization expenses of deferred financing costs included in Interest expense $ 1,900 $ 1,900 $ 1,800  
Senior Convertible Notes 2016        
Debt Instrument [Line Items]        
Deferred financing costs related to convertible notes 0 $ 1,170    
2021 Credit Agreement        
Debt Instrument [Line Items]        
Deferred financing costs related to convertible notes $ 3,400      
Credit Agreement and Convertible Notes | Debt Offerings        
Debt Instrument [Line Items]        
Weighted-average interest rate on debt borrowings 5.00% 5.00% 6.00%