SENIOR SECURED NOTES - RELATED PARTY - Additional Information (Detail) - USD ($) | Nov. 04, 2014 | Oct. 11, 2013 | Dec. 01, 2015 | Oct. 31, 2015 | Aug. 31, 2016 | Aug. 31, 2015 | Aug. 01, 2016 | Jun. 30, 2016 | Jun. 02, 2016 | Jun. 30, 2014 |
Related Party Transaction [Line Items] | | | | | | | | | | |
Proceeds From Notes Payable | | | | | $ 1,095,000 | $ 1,035,000 | | | | |
Senior Secured Note | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Debt instrument, face amount | | $ 9,000,000 | | | | | | | | |
Secured note payable, interest rate | | 3.00% | 3.00% | | | | | | | |
Debt instrument carrying amount | | $ 9,219,366 | | | | | | | | |
Proceeds from Repayments of secured debt | | $ 7,500,000 | | | | | | | | |
Terms of consolidated note identical to secured notes | | (a) the maturity date was changed to September 1, 2015, which was after the latest maturity date of any of the Secured Notes; and (b) it provided for partial mandatory repayment in the event that the Company received aggregate gross proceeds in excess of $7.5 million from a single or multiple “Liquidity Events” in an amount equal to twenty-five (25%) percent of such gross proceeds (the “Mandatory Prepayment Amount”). | | | | | | | | |
Consummation of equity financing, amount | | $ 7,500,000 | $ 7,500,000 | | | | | | | |
Description of Liquidity Event | | (a) the sale of any of the Company’s equity, or equity-linked, securities, and (b) the receipt of proceeds, directly or indirectly related to a development and/or commercialization relationship entered into with an unaffiliated third party. | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 9,000,000 | | $ 9,000,000 |
Debt Instrument, Maturity Date | | | | | Sep. 1, 2017 | | | | | |
Debt Conversion, Description | | | | | The agreement further provided that 50% of accrued but unpaid interest would also be converted into Common Stock and 50% would be paid out of the proceeds of the qualified public offering. | | | | | |
Niobe Ventures LLC | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Debt instrument, face amount | | | | | $ 5,030,000 | | | | | |
Debt instrument carrying amount | | | | | 17,414,366 | | | | | |
Proceeds from Issuance of Common Stock | | | | | 7,000,000 | | | | | |
Niobe Ventures LLC | Senior Secured Note | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | $ 5,000,000 | | | | | | | | | |
Proceeds From Notes Payable | $ 10,000,000 | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | 3.00% | | | | | | | | | |
Niobe Ventures LLC | Senior Secured Note | Minimum | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Notes Payable | $ 7,500,000 | | | | | | | | | |
Niobe Ventures LLC | Senior Secured Note | Maximum | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Notes Payable | $ 10,000,000 | | | | | | | | | |
Niobe Ventures LLC | Senior Secured Convertible Notes | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | |
Debt instrument, face amount | | | | | 8,195,000 | | $ 375,000 | $ 375,000 | $ 345,000 | |
Proceeds From Notes Payable | | | | | $ 1,095,000 | | | | | |
Proceeds from Issuance of Common Stock | | | | $ 7,000,000 | | | | | | |