Stockholders' equity (Details Textual) - USD ($) | Sep. 30, 2017 | Jul. 18, 2017 | Apr. 28, 2016 | Jan. 01, 2016 | Jul. 31, 2017 | Sep. 30, 2016 | Jun. 30, 2016 | May 31, 2016 | Jun. 30, 2016 | Sep. 30, 2017 | Sep. 30, 2017 | Sep. 30, 2016 | Dec. 31, 2016 |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Common stock, shares authorized | 200,000,000 | | | | | | | | | 200,000,000 | 200,000,000 | | 200,000,000 |
Common stock, shares issued | 51,964,878 | | | | | | | | | 51,964,878 | 51,964,878 | | 25,304,270 |
Common stock, shares outstanding | 51,964,878 | | | | | | | | | 51,964,878 | 51,964,878 | | 25,304,270 |
Preferred stock, shares authorized | 10,000,000 | | | | | | | | | 10,000,000 | 10,000,000 | | 10,000,000 |
Preferred stock, shares issued | 0 | | | | | | | | | 0 | 0 | | 0 |
Preferred stock, shares outstanding | 0 | | | | | | | | | 0 | 0 | | 0 |
Net proceeds from sale of common stock and warrants | | | | | | | | | | | $ 8,754,882 | $ 0 | |
Proceeds from issuance of common stock, net of issuance costs | | | | | | | | | | | 3,426,050 | 124 | |
Proceeds from issuance of private placement net | | | | | | | | | $ 9,500,000 | | 0 | $ 9,460,751 | |
Convertible preferred stock, beneficial conversion feature recognized as deemed dividend | | | | | | | | | | | $ 332,550 | | |
Share-based compensation arrangement by share-based payment award, options, grants in period, gross | | | | | | | | | | 409,500 | 1,279,100 | | |
Share-based compensation, tax benefit from compensation expense | | | | | | | | | | | $ 0 | | |
Share-based compensation arrangements by share-based payment award, options, grants in Period, weighted average exercise price | | | | | | | | | | $ 0.30 | $ 0.76 | | |
Share-based compensation arrangement by share-based payment award, options, forfeitures in period | | | | | | | | | | 196,288 | 504,197 | | |
Share-based compensation arrangements by share-based payment award, options, forfeitures in period, weighted average exercise price | | | | | | | | | | $ 1.11 | $ 1.33 | | |
Stock options | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Share-based compensation arrangement by share-based payment award, options, grants in period, weighted average grant date fair value | | | | | | | | | | $ 0.12 | $ 0.38 | | |
Share-based compensation arrangement by share-based payment award, options, outstanding, number | 3,471,729 | | | | | | | | | 3,471,729 | 3,471,729 | | |
Restricted Stock Units [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, grants in period | | | | | | | | | | 289,376 | 289,376 | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, grants in period, weighted average grant date fair value | | | | | | | | | | $ 0.28 | $ 0.28 | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, vested in period | | | | | | | | | | 26,500 | 26,500 | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, forfeited in period | | | | | | | | | | 0 | 0 | | |
Share-based compensation arrangement by share-based payment award, equity instruments other than options, non-vested, outstanding | 281,626 | | | | | | | | | 281,626 | 281,626 | | |
2015 Plan [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Share-based compensation arrangement by share-based payment award, number of shares authorized | 1,355,000 | | | | | | | | | 1,355,000 | 1,355,000 | | |
Share-based compensation arrangement by share-based payment award, description | | | | | | | | | | | the number of shares that have been authorized for issuance under the 2015 Plan will be automatically increased on the first day of each fiscal year beginning on January 1, 2016 and ending on (and including) January 1, 2025, in an amount equal to the lesser of (1) 4% of the outstanding shares of common stock on the last day of the immediately preceding fiscal year, or (2) another lesser amount determined by the Company’s Board of Directors. | | |
Share-based compensation arrangement by share-based payment award, number of shares available for grant | 869,194 | | | | | | | | | 869,194 | 869,194 | | |
Share-based compensation arrangement by share-based payment award, common stock percentage | | | | | | | | | | | 4.00% | | |
Share-based compensation arrangement by share-based payment award, number of additional shares authorized | | | | 1,012,171 | | | | | | | | | |
May 2016 Warrant [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Class of warrant or right, exercise price of warrants or rights | | | | | | | | $ 1.3125 | | | | | |
Warrant expiration period | | | | | | | | 5 years | | | | | |
Expiration date of warrants issued | | | | | | | | May 18, 2021 | | | May 18, 2021 | | |
June 2016 Warrant [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Class of warrant or right, exercise price of warrants or rights | | | | | | | $ 1.3125 | | $ 1.3125 | | | | |
Warrant expiration period | | | | | | | 5 years | | | | | | |
Expiration date of warrants issued | | | | | | | May 18, 2021 | | | | May 18, 2021 | | |
Chief Executive Officer [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 | | | 766,500 | | | | | | | | | | |
Percentage of total outstanding shares of common stock | | | 6.00% | | | | | | | | | | |
Share based compensation arrangements by share based payment award options grants in period exercise price | | | $ 1.35 | | | | | | | | | | |
Share based compensation arrangements by share based payment award contractual term | | | 10 years | | | | | | | | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche One [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights, percentage | | | 25.00% | | | | | | | | | | |
Chief Executive Officer [Member] | Share-based Compensation Award, Tranche Two [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Share-based compensation arrangement by share-based payment award, award vesting rights, percentage | | | 6.25% | | | | | | | | | | |
Common Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Conversion of stock, shares issued | | | | | | | | | | | 2,309,428 | | |
Non-voting Convertible Preferred Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Conversion of stock, shares converted | | | | | | | | | | | 2,309,428 | | |
July 2017 Public Offering [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | | 18,164,195 | | | | | | | | | | | |
Shares issued, price per share | | $ 0.40 | | | | | | | | | | | |
Gross proceeds from sale of common stock and warrants | | $ 10,000,000 | | | | | | | | | | | |
Net proceeds from sale of common stock and warrants | | $ 8,800,000 | | | | | | | | | | | |
Sale of stock, description of transaction | | | | | | | | | | | Each unit included one share of common stock and one common warrant to purchase one share of common stock at an exercise price of $0.425 per share. Each pre-funded unit included one pre-funded warrant to purchase one share of common stock for an exercise price of $0.01 per share, and one common warrant to purchase one share of common stock at an exercise price of $0.425 per share. | | |
Class of warrant or right, exercise price of warrants or rights | | $ 0.425 | | | | | | | | | | | |
Warrants exercisable period | | 5 years | | | | | | | | | | | |
July 2017 Public Offering [Member] | Placement Agent [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Class of warrant or right, exercise price of warrants or rights | | $ 0.50 | | | | | | | | | | | |
Warrants exercisable period | | 5 years | | | | | | | | | | | |
July 2017 Public Offering [Member] | Bridge Financing Notes [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Repayment of principal amount of outstanding debt | | $ 1,000,000 | | | $ 1,000,000 | | | | | | | | |
Repayments of accrued interest on outstanding debt | | $ 6,438 | | | | | | | | | | | |
July 2017 Public Offering [Member] | Pre-funded Units [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | | 6,835,805 | | | | | | | | | | | |
Shares issued, price per share | | $ 0.39 | | | | | | | | | | | |
July 2017 Public Offering [Member] | Pre-funded Warrants [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Class of warrant or right, exercise price of warrants or rights | | $ 0.01 | | | | | | | | | | | |
Warrants exercised | | 4,000,000 | | | 4,000,000 | | | | | | | | |
July 2017 Public Offering [Member] | Common Stock [Member] | Placement Agent [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | | 1,250,000 | | | | | | | | | | | |
At the Market Offering [Member] | Cowen and Company, LLC [Member] | Sales Agreement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, value, new issues | | | | | | $ 11,500,000 | | | | | | | |
Maximum commission percentage on gross proceeds | | | | | | 3.00% | | | | | | | |
Remaining availability under at the market offering | $ 3,100,000 | | | | | $ 3,100,000 | | | | | | | |
Proceeds from issuance of common stock, net of issuance costs | 7,800,000 | | | | | | | | | | $ 3,400,000 | | |
Gross proceeds from sale of common stock | $ 8,400,000 | | | | | | | | | | $ 3,600,000 | | |
At the Market Offering [Member] | Maximum [Member] | Cowen and Company, LLC [Member] | Sales Agreement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Aggregate gross proceeds from issuance of common stock | | | | | | $ 25,000,000 | | | | | | | |
At the Market Offering [Member] | Common Stock [Member] | Cowen and Company, LLC [Member] | Sales Agreement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | 7,700,000 | | | | | | | | | 0 | 4,000,000 | | |
Private Placement [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Sale of stock, description of transaction | | | | | | | | | | | (i) one share of common stock and a detachable stock purchase warrant to purchase an additional 0.75 shares of common stock, or (ii) one share of non-voting convertible preferred stock and a detachable stock purchase warrant to purchase an additional 0.75 shares of common stock, at a price of $1.14 per unit. | | |
Class of warrant or right, exercise price of warrants or rights | | | | | | | $ 1.14 | | $ 1.14 | | | | |
Class of warrant or right, number of securities called by each warrant or right | | | | | | | 0.75 | | 0.75 | | | | |
Class of warrant or right, number of securities called by warrants or rights | | | | | | | 6,790,169 | | 6,790,169 | | | | |
Proceeds from issuance of private placement net | | | | | | | | | $ 9,500,000 | | | | |
Private Placement [Member] | Common Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | | | | | | | | | 6,744,127 | | | | |
Private Placement [Member] | Non-voting Convertible Preferred Stock [Member] | | | | | | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | | | | | | |
Stock issued during period, shares, new issues | | | | | | | | | 2,309,428 | | | | |