Quarterly report pursuant to Section 13 or 15(d)

Debt - Schedule of Debt (Details)

v3.21.2
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Feb. 01, 2019
Debt Instrument [Line Items]      
Long-term debt $ 205,676 $ 251,205  
Long-term debt, excluding current maturities 3,970 3,837  
Convertible Notes      
Debt Instrument [Line Items]      
Long-term debt 183,198 221,989  
Current portion of lines of credit and notes payable      
Debt Instrument [Line Items]      
Long-term debt 17,961 24,703  
LT notes payable included in long-term liabilities      
Debt Instrument [Line Items]      
Long-term debt 4,517 4,513  
Line of Credit      
Debt Instrument [Line Items]      
Long-term debt 16,197 15,897  
Notes Payable, Other Payables      
Debt Instrument [Line Items]      
Long-term debt, current maturities 1,764 1,749  
Long-term debt, excluding current maturities 4,517 4,513  
Convertible Senior Notes Due 2025 | Convertible Debt      
Debt Instrument [Line Items]      
Long-term debt 116,009 156,163  
5% Convertible Notes | Convertible Debt      
Debt Instrument [Line Items]      
Long-term debt 64,139 62,776  
Notes Due February 1, 2033 | Notes      
Debt Instrument [Line Items]      
Long-term debt 3,050 3,050 $ 3,000
New Credit Agreement | Line of Credit | Revolving Credit Facility      
Debt Instrument [Line Items]      
Long-term debt $ 0 $ 7,057