Quarterly report pursuant to Section 13 or 15(d)

Debt - Narrative (Details)

v3.22.2.2
Debt - Narrative (Details)
1 Months Ended 3 Months Ended 9 Months Ended
Apr. 04, 2022
USD ($)
qtr
shares
Sep. 30, 2022
USD ($)
Sep. 30, 2022
USD ($)
Jun. 30, 2022
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Aug. 11, 2022
USD ($)
qtr
Apr. 03, 2022
USD ($)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]                  
Issuance of common stock for debt modification       $ 17,416,000 $ 17,416,000 $ 0      
Proceeds from issuance of debt         $ 119,351,000 26,793,000      
Loans Payable | Senior Facility                  
Debt Instrument [Line Items]                  
Debt, face amount           150,000,000      
Debt, increase of interest rate 2.00%                
Debt covenant, interest amount, number of calendar quarter | qtr 8           4    
Debt covenant, principal amount, number of calendar quarter | qtr 2                
Debt amortization period         10 years        
Proceeds from issuance of debt   $ 7,470,000              
Loans Payable | Senior Facility | Minimum                  
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 | 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%                
Debt covenant, interest amount, number of calendar quarter | qtr 8           4    
Loans Payable | Subordinated Facility | Minimum                  
Debt Instrument [Line Items]                  
Debt covenant, interest amount             $ 0    
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]                  
Debt covenant, interest reserve account balance   $ 19,754,000 $ 19,754,000   $ 19,754,000       $ 4,416,000
Unused capacity, commitment fee percentage   1.25%