Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation (Details Textual)

v3.7.0.1
Stock-Based Compensation (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
May 12, 2017
Oct. 31, 2016
Dec. 31, 2015
Feb. 23, 2015
Mar. 26, 2014
Jan. 31, 2013
Jun. 30, 2017
Jun. 30, 2016
Aug. 21, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross             24,725,000 285,000  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price             $ 1.19 $ 1.07  
Stock-based compensation             $ 6,005,670 $ 3,761,837  
Employee service share-based compensation, nonvested awards, total compensation cost not yet recognized, stock options             $ 12,885,590    
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 1.65    
Fair value of warrants             $ 588 11,955  
Adjustments to Additional Paid in Capital, Warrant Issued             $ 5,434,987 $ 5,523,706  
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Warrants cancelled In Period               30,000  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period             11,090,000    
Adjustments To Additional Paid In Capital Warrant Modification             $ 3,406,932    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights, Modification             285,834    
Share-based Compensation Arrangement by Share-based Payment Award, Plan Modification, Description and Terms             extend the terms of the warrants for an additional two years    
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Warrants Expired In Period             452,262    
Warrant Expense             $ 12,564 $ 72,972  
2014 Stock and Incentive Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, number of shares authorized         3,750,000        
Non Qualified Stock Option Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross             28,995,000    
Employee service share-based compensation, nonvested awards, total compensation cost not yet recognized, stock options             $ 1,199,847    
Share-based compensation arrangement by share-based payment award, number of shares authorized   35,000,000             15,000,000
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period             1,550,000    
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights   The options expire no later than ten years from the date of the grant. The options vest on a monthly basis over 48 months, except for 100,000 of the options which do not begin to vest until specific events have occurred and then begin to vest over 48 months. Some options are subject to a one year cliff and all options have an exercise price based on the fair value of the common stock on the date of grant.              
Non Qualified Stock Option Plan [Member] | Minimum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price             $ 1.00    
Non Qualified Stock Option Plan [Member] | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price             $ 1.20    
Two Consultants                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross               8,334  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price               $ 4.50  
Employees and Directors                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period             4,360,000    
Employees and Directors | General and Administrative Expense [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation             $ 4,214,819 $ 2,543,797  
Employees and Directors | Research and Development Expense [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Stock-based compensation             $ 1,790,851 1,218,040  
Employees and Directors | 2014 Stock and Incentive Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share based compensation arrangement by share based payment award options shares purchased vested monthly term         4 years        
Employees and Directors | 2014 Stock and Incentive Plan | Minimum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price         $ 1.29        
Employees and Directors | 2014 Stock and Incentive Plan | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price         $ 3.44        
Investor                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Warrant Expense               $ 12,564  
Employee Stock Option | Non Qualified Stock Option Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross             90,000    
Employee Stock Option | Employees and Directors                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross           1,500,000      
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price           $ 4.50      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period 1,166,667                
Employee Stock Option | Employees and Directors | Minimum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price       $ 1.00          
Employee Stock Option | Employees and Directors | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangements by share-based payment award, options, grants in period, weighted average exercise price       $ 2.06          
Employee Stock Option | Employees and Directors | 2014 Stock and Incentive Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross               3,295,000  
Employee Stock Option | Employees and Directors | Non Qualified Stock Option Plan [Member]                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Share-based compensation arrangement by share-based payment award, options, grants in period, gross               4,397,000  
Share based compensation arrangement by share based payment award options shares purchased vested monthly term       4 years          
Share-based compensation arrangement by share-based payment award, number of shares authorized       6,850,000          
Warrant                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             15,474,883    
Adjustments to Additional Paid in Capital, Warrant Issued             $ 516,550 $ 500,320  
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Warrants cancelled In Period     30,000            
Adjustments To Additional Paid In Capital Warrant Modification             $ 3,366,070    
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Warrants Expired In Period             20,000    
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period               15,624  
Warrant One                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             3,248,184 5,897,677  
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 1.65 $ 1.65  
Class of warrant exercisable warrants or rights             5,897,677    
Warrants to purchase common stock value             $ 3,497,914    
Adjustments To Additional Paid In Capital Warrant Modification             $ 40,862    
Warrant Two                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             536,150 3,043,669  
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 1.65 $ 1.65  
Class of warrant exercisable warrants or rights             3,043,558    
Warrants to purchase common stock value             $ 1,667,630    
Adjustments to Additional Paid in Capital, Warrant Issued             $ 1,202,336    
Warrant Three                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             184,490 184,490  
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 1.13 $ 2.34  
Class of warrant exercisable warrants or rights             184,490 184,490  
Warrants to purchase common stock value             $ 184,673    
Warrant Four                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             250,000 10,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 1.00 $ 1.32  
Class of warrant exercisable warrants or rights               327,046  
Warrants to purchase common stock value               $ 113,521  
Warrant Five                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             250,000 87,500  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 2.50  
Class of warrant exercisable warrants or rights               87,500  
Warrants to purchase common stock value               $ 65,490  
Warrant Six                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights               519,093  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 1.65  
Class of warrant exercisable warrants or rights               519,093  
Warrants to purchase common stock value               $ 386,800  
Warrant Seven                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights               327,046  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 1.38  
Class of warrant exercisable warrants or rights               9,000  
Warrants to purchase common stock value               $ 11,407  
Warrant Eight                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights               9,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 1.34  
Class of warrant exercisable warrants or rights               24,000  
Warrants to purchase common stock value               $ 20,943  
Warrant Nine                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights               24,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 1.85  
Class of warrant exercisable warrants or rights               60,000  
Warrants to purchase common stock value               $ 34,122  
Warrant Ten                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights               60,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights               $ 0.96  
Class of warrant exercisable warrants or rights               10,000  
Warrants to purchase common stock value               $ 6,500  
Warrant Eleven                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             3,248,184    
Warrants to purchase common stock value             $ 2,759,015    
Adjustments to Additional Paid in Capital, Warrant Issued             $ 1,262,413    
Warrant Twelve                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             536,150 536,150  
Warrants to purchase common stock value             $ 516,550 $ 516,550  
Warrant Thirteen                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant exercisable warrants or rights             66,667    
Adjustments to Additional Paid in Capital, Warrant Issued             $ 50,365    
Warrant Fourteen                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant or right, number of securities called by warrants or rights             250,000    
Warrants to purchase common stock value               $ 236,529  
Placement Agent Warrants                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Class of warrant exercisable warrants or rights               250,000