Quarterly report pursuant to Section 13 or 15(d)

Debt (Details) - Schedule of long-term debt

v3.22.2
Debt (Details) - Schedule of long-term debt - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total $ 273,948 $ 271,854
Less: Total unamortized debt issuance costs (9,674) (10,563)
Less: Current maturities of debt issuance costs (2,242) (357)
Total long-term debt 262,032 260,934
Subordinated Term Loan [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 10,205 10,205
NMTC Notes [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 21,000 21,000
Asset Backed Lending Arrangement [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 0 0
Convertible Debt Note [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 240,000 240,000
Vehicle and Equipment Notes [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 419 407
Mortgage Notes [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total 232 242
Commercial Premium Finance Note [Member]    
Long-Term Debt (Details) - Schedule of long-term debt [Line Items]    
Total $ 2,092 $ 0