Annual report pursuant to Section 13 and 15(d)

SUBSEQUENT EVENTS (Details)

v3.22.1
SUBSEQUENT EVENTS (Details)
3 Months Ended 12 Months Ended
Mar. 23, 2022
USD ($)
d
$ / shares
shares
Dec. 31, 2026
USD ($)
Jun. 30, 2022
USD ($)
Dec. 31, 2021
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
Refinancing of Senior Credit Facility [Abstract]          
Notes payable       $ 100,000,000 $ 100,000,000
Payment for outstanding obligations       0 13,950,000
Loss on extinguishment of debt       0 991,797
Revenues       $ 80,942,625 $ 42,219,783
Warrant exercise price per share (in dollars per share) | $ / shares       $ 2.82 $ 2.82
Debt discount       $ 5,133,761 $ 7,031,134
Hayfin Credit Agreement [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Maturity date       Mar. 23, 2029  
Trailing period for VWAP       30 days  
Hayfin Credit Agreement [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Upfront fee paid in kind $ 1,800,000        
Loss on extinguishment of debt $ (6,700,000)        
Applicable margin 9.50%        
Effective interest rate 12.90%        
Percentage of interest amount to pay in kind 2.50%        
Percentage of exit fee on outstanding principal amount being paid 1.00%        
Scheduled principal payments $ 0        
Increase applicable margin 3.00%        
Number of business days prior written notice for prepay outstanding principal | d 5        
Shares issued upon exercise of warrants (in shares) | shares 9,103,047        
Warrant exercise price per share (in dollars per share) | $ / shares $ 1.6478        
Fair value of warrants $ 9,600,000        
Debt discount $ 13,200,000        
Hayfin Credit Agreement [Member] | Minimum [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Cash balance       $ 6,000,000.0  
Hayfin Credit Agreement [Member] | Minimum [Member] | Forecast [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Revenues     $ 75,000,000.0    
Hayfin Credit Agreement [Member] | Maximum [Member] | Forecast [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Revenues   $ 250,000,000.0      
Hayfin Credit Agreement [Member] | Prepaid on or Prior to First Anniversary [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Percentage of prepaid principal amount 7.00%        
Hayfin Credit Agreement [Member] | Prepaid after the First Anniversary [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Percentage of prepaid principal amount 3.00%        
Hayfin Credit Agreement [Member] | Prepaid after the Second Anniversary [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Percentage of prepaid principal amount 1.00%        
Hayfin Credit Agreement [Member] | Federal Funds Rate [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Credit agreement, interest rate provided 0.50%        
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Term of variable rate       1 month  
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Credit agreement, interest rate provided 1.00%        
Applicable margin 8.50%        
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member] | Minimum [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Term of variable rate       1 month  
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member] | Maximum [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Term of variable rate       3 months  
Hayfin Credit Agreement [Member] | Base Rate [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Percentage of floor interest rate 1.25%        
Hayfin Credit Facility [Member] | Hayfin Credit Agreement [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Maturity date       Mar. 23, 2027  
Hayfin Credit Facility [Member] | Hayfin Credit Agreement [Member] | Maximum [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Notes payable $ 175,000,000.0        
Hayfin Closing Date Loan [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Payment for outstanding obligations 100,000,000.0        
Hayfin Closing Date Loan [Member] | Hayfin Credit Agreement [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Notes payable 150,000,000.0        
Redemption premium 2,000,000.0        
Payment for certain fees and expenses $ 300,000        
Effective interest rate 10.75%        
Hayfin Delayed Draw Loan [Member] | Hayfin Credit Agreement [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Maturity date       Mar. 22, 2023  
Hayfin Delayed Draw Loan [Member] | Hayfin Credit Agreement [Member] | Subsequent Event [Member]          
Refinancing of Senior Credit Facility [Abstract]          
Notes payable $ 25,000,000.0