XML 67 R51.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-term Debt - Summary of Long-term Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Total debt $ 178,750 $ 183,537
Less: Current portion (18,262) (17,778)
Long-term debt 160,488 165,759
Unamortized debt issuance costs 2,700 600
4.75% Convertible Senior Notes    
Debt Instrument [Line Items]    
Total debt 131,291 0
Long-term debt, gross 135,000  
1.5% Convertible Unsecured Senior Notes    
Debt Instrument [Line Items]    
Total debt 25,802 143,242
Long-term debt, gross 26,000 157,400
Promissory note    
Debt Instrument [Line Items]    
Total debt 17,534 17,095
Other debt and finance lease obligations    
Debt Instrument [Line Items]    
Total debt 4,123 4,792
Revolving Credit Facility    
Debt Instrument [Line Items]    
Total debt $ 0 $ 18,408