Quarterly report pursuant to Section 13 or 15(d)

DEBT (Details)

v3.22.2.2
DEBT (Details)
3 Months Ended 9 Months Ended
Mar. 23, 2022
USD ($)
d
$ / shares
shares
Dec. 31, 2026
USD ($)
Sep. 30, 2022
USD ($)
Jun. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
Senior Notes Payable [Abstract]                
Notes payable     $ 153,773,932     $ 153,773,932   $ 100,000,000
Less: Debt discount     (12,408,226)     (12,408,226)   (5,133,761)
Senior notes payable     141,365,706     141,365,706   $ 94,866,239
Payment for outstanding obligations           100,000,000 $ 0  
Loss on extinguishment of debt     0   $ 0 (6,669,941) 0  
Interest paid-in-kind           2,023,932 0  
Revenues     $ 41,090,137   $ 20,680,550 $ 104,098,237 $ 54,559,758  
Hayfin Credit Agreement [Member]                
Senior Notes Payable [Abstract]                
Less: Debt discount $ (13,900,000)              
Maturity date           Mar. 23, 2029    
Upfront fee paid in kind 1,800,000              
Loss on extinguishment of debt $ (6,700,000)              
Applicable margin 9.50%              
Effective interest rate 13.00%   14.30%     14.30%    
Percentage of interest amount to pay in kind 2.50%              
Interest paid-in-kind           $ 2,000,000    
Percentage of exit fee of 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              
Trailing period for VWAP           30 days    
Fair value of warrants $ 9,600,000              
Hayfin Credit Agreement [Member] | Minimum [Member]                
Senior Notes Payable [Abstract]                
Cash balance $ 6,000,000              
Revenues       $ 75,000,000        
Hayfin Credit Agreement [Member] | Maximum [Member] | Forecast [Member]                
Senior Notes Payable [Abstract]                
Revenues   $ 250,000,000            
Hayfin Credit Agreement [Member] | Prepaid on or Prior to First Anniversary [Member]                
Senior Notes Payable [Abstract]                
Percentage of prepaid principal amount 7.00%              
Hayfin Credit Agreement [Member] | Prepaid after the First Anniversary [Member]                
Senior Notes Payable [Abstract]                
Percentage of prepaid principal amount 3.00%              
Hayfin Credit Agreement [Member] | Prepaid after the Second Anniversary [Member]                
Senior Notes Payable [Abstract]                
Percentage of prepaid principal amount 1.00%              
Hayfin Credit Agreement [Member] | Federal Funds Rate [Member]                
Senior Notes Payable [Abstract]                
Credit agreement, interest rate provided 0.50%              
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member]                
Senior Notes Payable [Abstract]                
Credit agreement, interest rate provided 1.00%              
Term of variable rate           1 month    
Applicable margin 8.50%              
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member] | Minimum [Member]                
Senior Notes Payable [Abstract]                
Term of variable rate           1 month    
Hayfin Credit Agreement [Member] | Secured Overnight Financing Rate [Member] | Maximum [Member]                
Senior Notes Payable [Abstract]                
Term of variable rate           3 months    
Hayfin Credit Agreement [Member] | Base Rate [Member]                
Senior Notes Payable [Abstract]                
Percentage of floor interest rate 1.25%              
Hayfin Credit Facility [Member] | Hayfin Credit Agreement [Member]                
Senior Notes Payable [Abstract]                
Maturity date           Mar. 23, 2027    
Hayfin Credit Facility [Member] | Hayfin Credit Agreement [Member] | Maximum [Member]                
Senior Notes Payable [Abstract]                
Notes payable $ 175,000,000              
Hayfin Closing Date Loan [Member]                
Senior Notes Payable [Abstract]                
Payment for outstanding obligations 100,000,000              
Hayfin Closing Date Loan [Member] | Hayfin Credit Agreement [Member]                
Senior Notes Payable [Abstract]                
Notes payable 150,000,000              
Redemption premium 2,000,000              
Payment for certain fees and expenses $ 1,000,000              
Effective interest rate 10.75%   12.10%     12.10%    
Hayfin Delayed Draw Loan [Member] | Hayfin Credit Agreement [Member]                
Senior Notes Payable [Abstract]                
Notes payable $ 25,000,000              
Maturity date           Mar. 22, 2023