Annual report pursuant to Section 13 and 15(d)

PROMISSORY NOTE AND DEBT (Details)

v3.23.1
PROMISSORY NOTE AND DEBT (Details)
Nov. 01, 2022
USD ($)
qtr
Mar. 01, 2021
USD ($)
Oct. 01, 2020
USD ($)
Sep. 04, 2020
USD ($)
yr
$ / shares
Feb. 21, 2020
USD ($)
Dec. 31, 2022
USD ($)
$ / shares
yr
Dec. 31, 2021
USD ($)
Feb. 21, 2020
CAD ($)
Measurement Input, Share Price                
Line of Credit Facility [Line Items]                
Measurement input | $ / shares           10.00    
Measurement Input, Expected Term                
Line of Credit Facility [Line Items]                
Measurement input | yr           3.069    
Measurement Input, Risk Free Interest Rate                
Line of Credit Facility [Line Items]                
Measurement input           0.0057    
Measurement Input, Price Volatility                
Line of Credit Facility [Line Items]                
Measurement input           1    
Line of Credit | Credit Agreement                
Line of Credit Facility [Line Items]                
Debt, term         1 year     1 year
Debt, term, extension period         1 year      
Deb, final maturity date, number of months after closing date         12 months      
Deb, potential extension to final maturity date, number of months after closing date         24 months      
Debt, issuance costs       $ 1,314,868        
Unamortized debt issuance costs           $ 0 $ 0  
Line of Credit | Credit Agreement | Measurement Input, Share Price                
Line of Credit Facility [Line Items]                
Measurement input | $ / shares       6.00        
Line of Credit | Credit Agreement | Measurement Input, Expected Term                
Line of Credit Facility [Line Items]                
Measurement input | yr       5        
Line of Credit | Credit Agreement | Measurement Input, Risk Free Interest Rate                
Line of Credit Facility [Line Items]                
Measurement input       1.14        
Line of Credit | Credit Agreement | Measurement Input, Price Volatility                
Line of Credit Facility [Line Items]                
Measurement input       1        
Line of Credit | Credit Agreement | Common Stock and Warrants                
Line of Credit Facility [Line Items]                
Debt, issuance costs       $ 676,822        
Line of Credit | Credit Agreement | Prime Rate                
Line of Credit Facility [Line Items]                
Debt, basis spread on variable rate       12.00% 11.00%      
Line of Credit | Senior Secured Demand Term Loan | Credit Agreement                
Line of Credit Facility [Line Items]                
Debt, face amount         $ 2,000,000     $ 2,700,000
Debt, covenant compliance, prior notice prepayment period without penalty, if circumstances met         60 days      
Debt, required debt prepayment cost       $ 1,000,000        
Debt instrument, periodic payment   $ 100,000            
Line of Credit | Revolving Facility | Credit Agreement                
Line of Credit Facility [Line Items]                
Line of credit facility, maximum borrowing capacity (up to)         $ 4,000,000     5,400,000
Debt, covenant compliance, loan availability criteria, amount (lesser of)         $ 3,000,000     $ 4,050,000.00
Debt instrument, periodic payment     $ 50,000          
Line of Credit | Revolving Facility | Credit Agreement | Insured Accounts Receivable                
Line of Credit Facility [Line Items]                
Debt, covenant terms, loan availability criteria, percent         90.00%     90.00%
Line of Credit | Revolving Facility | Credit Agreement | Investment Grade Receivables                
Line of Credit Facility [Line Items]                
Debt, covenant terms, loan availability criteria, percent         85.00%     85.00%
Line of Credit | Revolving Facility | Credit Agreement | Other Accounts Receivable                
Line of Credit Facility [Line Items]                
Debt, covenant terms, loan availability criteria, percent         75.00%     75.00%
Line of Credit | Revolving Facility | Credit Agreement | Eligible Inventory                
Line of Credit Facility [Line Items]                
Debt, covenant terms, loan availability criteria, percent         50.00%     50.00%
Line of Credit | Revolving Facility | Credit Agreement | Uncollected Amounts on Eligible Signed Equipment Orders for Equipment Systems Contracts                
Line of Credit Facility [Line Items]                
Debt, covenant compliance, loan availability criteria, percent (lesser of)         75.00%     75.00%
Line of Credit | Revolving Facility | Credit Agreement | Uncollected Amounts on Eligible Signed Professional Services Order Forms for Design Contracts                
Line of Credit Facility [Line Items]                
Debt, covenant compliance, loan availability criteria, percent (lesser of)         85.00%     85.00%
DVO | Promissory Note                
Line of Credit Facility [Line Items]                
Debt, face amount $ 3,806,250              
Debt, payment terms, number of consecutive quarters | qtr 4              
Debt, payment terms, remaining three payments, number of days following end of each fiscal quarter 10 days