Annual report pursuant to Section 13 and 15(d)

Summary of significant accounting policies - Additional Information (Details)

v3.6.0.2
Summary of significant accounting policies - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Jul. 22, 2013
Debt Instrument [Line Items]      
Allowance for doubtful accounts $ 29,665 $ 50,000  
Bill and Hold Transactions 2,588,458 928,900  
Advertising expense 134,000 184,000  
Research and development 667,064 591,585  
Revolving credit facility      
Debt Instrument [Line Items]      
Letter of credit outstanding   $ 294,802  
Revolving credit facility | Chief Executive Officer (John N. Hatsopoulos)      
Debt Instrument [Line Items]      
Bank credit facility     $ 1,055,000
Demand notes | Chief Executive Officer (John N. Hatsopoulos)      
Debt Instrument [Line Items]      
Demand notes payable, related party, current 2,000,000    
Demand notes payable, withdrawal limit per quarter $ 250,000