XML 117 R50.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Schedule of Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Convertible term notes $ 0 $ 5,339
Term loans 0 288
Long term debt 75,700 0
Current debt   $ 5,627
Note Purchase Agreement    
Debt Instrument [Line Items]    
Long-term debt, gross $ 75,700