Quarterly report pursuant to Section 13 or 15(d)

Equity Incentive Plan (Details Textual)

v3.8.0.1
Equity Incentive Plan (Details Textual) - USD ($)
1 Months Ended 3 Months Ended
Feb. 28, 2018
Feb. 06, 2017
Jan. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
Mar. 21, 2018
Jan. 31, 2018
Jun. 30, 2017
Dec. 31, 2010
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized       $ 945,000 $ 1,007,000        
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition       1 year 6 months 25 days 1 year 7 months 10 days        
Share Based Compensation Arrangement By Share Based Payment Award Options Outstanding And Exercisable Intrinsic Value       $ 0 $ 1,181,000        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized                 891,222
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value       0 1,000        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value       $ 151,174 $ 22,862        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value       $ 0.57 $ 1.72        
Share-based Compensation Arrangement by Share-based Payment Award, Description         Incentive stock options may be granted to any officer or employee at an exercise price per share of not less than the fair value per common share on the date of the grant (not less than 110% of fair value in the case of holders of more than 10% of the Company’s voting stock) and with a term not to exceed ten years from the date of the grant (five years for incentive stock options granted to holders of more than 10% of the Company’s voting stock).        
Three Consultants [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant     36,000            
Three Employees [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant     15,450            
Sixteen Employees [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant 275,000                
One Employees [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant           500      
Equity Incentive Plan 2014 [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period       1,500 70,144        
Equity Incentive Plan 2014 [Member] | Maximum [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant       2,040,123          
ESPP [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant       117,090          
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized               170,567  
2005 And 2014 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant       192,411          
2014 Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant             2,040,123    
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights In general, options granted under the 2014 Plan vest 33.33% on the one-year anniversary of the grant date and the remainder ratably over a 24-month period.   In general, grants under the 2014 Plan vest 33.33% on the one-year anniversary of the grant date, and the remainder ratably over the 24-month period following the one-year anniversary.            
Excess Stock, Shares Authorized             350,000    
2014 Plan [Member] | Eight Employees [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant   104,000              
Restricted Stock [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares       37,190          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period       1,000          
Restricted Stock [Member] | Eight Employees [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights   These vest 33.33% on the one-year anniversary of the grant date, and the remainder ratably over the 24-month period following the one-year anniversary.