Annual report pursuant to Section 13 and 15(d)

Revolving line of credit, Convertible debentures and loan due to related party (Details)

v3.19.1
Revolving line of credit, Convertible debentures and loan due to related party (Details)
3 Months Ended 12 Months Ended
May 04, 2018
USD ($)
Dec. 14, 2017
USD ($)
Dec. 23, 2013
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Sep. 30, 2017
USD ($)
Apr. 01, 2016
$ / shares
Mar. 31, 2016
$ / shares
Debt Instrument [Line Items]                  
Payment made to terminate senior convertible promissory note         $ 850,000 $ 3,150,000      
Michaelson                  
Debt Instrument [Line Items]                  
Related party ownership percentage         5.00%        
Convertible debentures | Michaelson                  
Debt Instrument [Line Items]                  
Principal amount     $ 3,000,000            
Related party debt, stated interest rate       4.00%          
Debt term     3 years            
Conversion price in usd per share | $ / shares               $ 3.54 $ 3.37
Payment made to terminate senior convertible promissory note   $ 3,150,000              
Percentage of principal and interest       120.00%          
Chief Executive Officer (John N. Hatsopoulos)                  
Debt Instrument [Line Items]                  
Payment made to terminate senior convertible promissory note $ 919,590                
Loan from related party       $ 850,000 $ 850,000   $ 850,000    
Demand notes | Chief Executive Officer (John N. Hatsopoulos)                  
Debt Instrument [Line Items]                  
Stated interest rate (percent)       6.00% 6.00%   6.00%    
Webster Business Credit Corporation                  
Debt Instrument [Line Items]                  
Credit facility, maximum borrowing capacity $ 10,000,000                
Effective interest rate (percent)       7.00% 7.00%        
Fixed charge coverage ratio 1.10                
Annual financial capital expenditure limit $ 500,000                
Debt issuance costs $ 145,011                
Amortization period for debt issuance costs 3 years                
Line of credit outstanding       $ 2,122,221 $ 2,122,221        
Line of credit, debt issuance costs       $ 112,786 $ 112,786        
One Month LIBOR | Webster Business Credit Corporation                  
Debt Instrument [Line Items]                  
Basis spread on variable rate 3.00%                
Lender's Base Rate | Webster Business Credit Corporation                  
Debt Instrument [Line Items]                  
Basis spread on variable rate 1.50%                
Federal Funds Rate | Webster Business Credit Corporation                  
Debt Instrument [Line Items]                  
Basis spread on variable rate 0.50%                
Lender's Base Rate - One Month LIBOR | Webster Business Credit Corporation                  
Debt Instrument [Line Items]                  
Basis spread on variable rate 2.75%