Annual report pursuant to Section 13 and 15(d)

Long-term Debt, Net - Narrative (Details)

v3.22.2
Long-term Debt, Net - Narrative (Details)
3 Months Ended
Apr. 22, 2022
USD ($)
lender
$ / shares
shares
Mar. 14, 2022
USD ($)
unaffiliated_lender
d
$ / shares
Aug. 31, 2021
USD ($)
$ / shares
shares
Sep. 14, 2020
USD ($)
d
$ / shares
Sep. 14, 2020
USD ($)
$ / shares
shares
Sep. 14, 2020
USD ($)
day
$ / shares
Jan. 22, 2020
USD ($)
lender
note
Oct. 31, 2020
USD ($)
Apr. 30, 2022
USD ($)
Apr. 25, 2022
$ / shares
shares
Apr. 30, 2021
USD ($)
Apr. 30, 2020
USD ($)
Nov. 05, 2018
USD ($)
Debt Instrument [Line Items]                          
Number of unaffiliated lenders | unaffiliated_lender   2                      
Letter of credit or surety bond posted $ 18,300,000               $ 18,300,000        
Restricted cash                 6,433,397   $ 1,193,997    
Deferred financing costs                 369,902   18,056    
Convertible Debt                          
Debt Instrument [Line Items]                          
Antidilutive securities excluded from computation of earnings per share, amount | shares         1,398,602                
Warrant                          
Debt Instrument [Line Items]                          
Vesting period of warrant     5 years             5 years      
2022 Convertible Notes                          
Debt Instrument [Line Items]                          
Face value of loan   $ 10,000,000                      
Payment for lender legal fees   $ 135,562                      
2022 Convertible Notes | Convertible Notes Payable                          
Debt Instrument [Line Items]                          
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares   $ 1.00                      
Average closing price of common stock (in dollars per share) | $ / shares   $ 2.00                      
Consecutive trading day period | d   30                      
Debt instrument, term   5 years                      
Interest rate (as a percent)   12.00%                      
2022 Convertible Notes | Convertible Debt                          
Debt Instrument [Line Items]                          
Face value of loan   $ 5,000,000                      
2022 Revolving Credit Facility | Revolving Credit Facility                          
Debt Instrument [Line Items]                          
Outstanding balance under facility                     0    
Deferred financing costs                 118,000        
2022 Revolving Credit Facility | Revolving Credit Facility | Warrant                          
Debt Instrument [Line Items]                          
Class of warrant or right, number of securities called by warrants or rights (in shares) | shares                   100,000      
Exercise price of warrants (in dollars per share) | $ / shares                   $ 1.00      
2022 Revolving Credit Facility | Line of Credit | Revolving Credit Facility                          
Debt Instrument [Line Items]                          
Debt instrument, term   1 year                      
Interest rate (as a percent)   12.00%                      
Line of credit facility, maximum borrowing capacity   $ 20,000,000                      
Commitment fee (as a percent)   1.00%                      
Line of credit facility, commitment fee   $ 200,000                      
Replacement period   6 months                      
Additional commitment fee (as a percent)   1.00%                      
Convertible Notes | Revolving Credit Facility                          
Debt Instrument [Line Items]                          
Line of credit facility, maximum borrowing capacity                         $ 5,000,000
Debt instrument, convertible, beneficial conversion price             $ 1,692,309            
Convertible Notes | Convertible Notes Payable                          
Debt Instrument [Line Items]                          
Face value of loan       $ 10,000,000 $ 10,000,000 $ 10,000,000 $ 5,000,000         $ 10,000,000  
Debt instrument, convertible, conversion price (in dollars per share) | $ / shares       $ 7.15 $ 7.15 $ 7.15              
Average closing price of common stock (in dollars per share) | $ / shares       $ 10.725 $ 10.725 $ 10.725              
Consecutive trading day period       20   20              
Number of lenders | lender             2            
Number of notes | note             2            
Amortization expense               $ 1,400,000          
2018 Credit Facility Agreement | Revolving Credit Facility                          
Debt Instrument [Line Items]                          
Line of credit facility, maximum borrowing capacity                         $ 5,000,000
Outstanding balance under facility                 5,000,000   $ 0    
Extension period   1 year                      
Deferred financing costs                 $ 68,569        
Extension period     1 year                    
Proceeds from lines of credit     $ 5,000,000                    
2018 Credit Facility Agreement | Revolving Credit Facility | Minimum                          
Debt Instrument [Line Items]                          
Interest rate (as a percent)                         12.00%
2018 Credit Facility Agreement | Revolving Credit Facility | Maximum                          
Debt Instrument [Line Items]                          
Interest rate (as a percent)   14.00%                      
2018 Credit Facility Agreement | Revolving Credit Facility | Warrant                          
Debt Instrument [Line Items]                          
Class of warrant or right, number of securities called by warrants or rights (in shares) | shares     50,000                    
Exercise price of warrants (in dollars per share) | $ / shares     $ 5.85                    
Warrants and rights outstanding     $ 137,500                    
Revolving Credit Facility                          
Debt Instrument [Line Items]                          
Restricted cash $ 5,000,000                        
Intercreditor Agreement                          
Debt Instrument [Line Items]                          
Number of lenders | lender 2                        
Intercreditor Agreement | Warrant                          
Debt Instrument [Line Items]                          
Class of warrant or right, number of securities called by warrants or rights (in shares) | shares 100,000                        
Exercise period 5 years                        
Exercise price of warrants (in dollars per share) | $ / shares $ 1.00                        
Warrants and rights outstanding $ 118,000                        
Vesting period of warrant 60 months