Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.22.2.2
Debt - Narrative (Details)
3 Months Ended 6 Months Ended
Apr. 04, 2022
USD ($)
shares
Mar. 14, 2022
Jun. 30, 2022
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Aug. 11, 2022
USD ($)
qtr
Apr. 03, 2022
USD ($)
Dec. 31, 2021
USD ($)
Sep. 30, 2021
USD ($)
Debt Instrument [Line Items]                  
Issuance of common stock for debt modification     $ 17,416,000 $ 17,416,000 $ 0        
Loans Payable | Senior Facility                  
Debt Instrument [Line Items]                  
Debt, face amount                 $ 150,000,000
Debt, increase of interest rate 2.00%                
Loans Payable | Senior Facility | Subsequent Event                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount, measurement period, number of calendar quarter | qtr           4      
Loans Payable | Senior Facility | Minimum | Subsequent Event                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount           $ 0      
Loans Payable | Senior Facility | Minimum | SOFR                  
Debt Instrument [Line Items]                  
Debt basis spread on variable rate   7.50%              
Loans Payable | Senior Facility | Maximum                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount     9,100,000 9,100,000          
Loans Payable | Senior Facility | Maximum | SOFR                  
Debt Instrument [Line Items]                  
Debt basis spread on variable rate   8.50%              
Loans Payable | Subordinated Facility                  
Debt Instrument [Line Items]                  
Debt, face amount                 $ 50,000,000
Debt, increase of interest rate 2.00%                
Interest rate percentage   12.50%              
Loans Payable | Subordinated Facility | Subsequent Event                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount, measurement period, number of calendar quarter | qtr           4      
Loans Payable | Subordinated Facility | Minimum | Subsequent Event                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount           $ 0      
Loans Payable | Subordinated Facility | Maximum                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount     5,200,000 5,200,000          
Loans Payable | First Amendment of the Original Credit Agreements                  
Debt Instrument [Line Items]                  
Debt, face amount $ 170,000,000                
Debt, minimum liquidity covenant 20,000,000           $ 30,000,000    
Debt amendment fee $ 2,000,000                
Issuance of common stock for debt modification (in shares) | shares 1,932,931                
Debt issuance cost write off     735,000 735,000          
Loans Payable | Second Amendment of the Original Credit Agreements                  
Debt Instrument [Line Items]                  
Cash required to be held in debt service reserve account     7,200,000 $ 7,200,000          
Unused capacity, commitment fee percentage       1.25%          
Debt covenant, interest reserve account balance     $ 18,583,000 $ 18,583,000       $ 4,416,000