Long term borrowings - Additional Information (Detail) - USD ($) | 1 Months Ended | 3 Months Ended | 9 Months Ended | |
Dec. 31, 2015 | Sep. 30, 2016 | Sep. 30, 2015 | Sep. 30, 2016 | Sep. 30, 2015 | Feb. 03, 2015 |
Debt Instrument [Line Items] | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | 1,115,827 | | 1,115,827 | | |
Class of Warrant or Right, Date from which Warrants or Rights Exercisable | | | | Feb. 3, 2015 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | $ 0.50 | | $ 0.50 | | |
Amortization of Debt Discount (Premium) | | | | $ 49,000 | $ 42,000 | |
Convertible Notes Payable [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt Instrument, Face Amount | | $ 325,000 | | $ 325,000 | | |
Debt Instrument, Interest Rate, Stated Percentage | | 5.00% | | 5.00% | | |
Debt Instrument, Unamortized Discount | $ 11,000 | $ 5,000 | | $ 5,000 | | |
Mr. Gallagher [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | 100,000 | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 0.15 | | | | | |
Promissory Note [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt Instrument, Payment Terms | future payment schedule and to extend the maturity date of the promissory note from January 1, 2016 to July 1, 2017. Under the amended payment schedule, the Company will make monthly principal payments of $25,000 to Mr. Gallagher for a fourteen-month period beginning January 1, 2016 and ending on February 1, 2017. The Company will also make an additional principal payment of $100,000 on or before March 1, 2017. The remaining outstanding balance is due on July 1, 2017. The Company will continue to make monthly interest payments. The interest rate was also increased to an annual rate of 5% per annum effective January 1, 2016. | | | | | |
loan agreement [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt Instrument, Face Amount | | | | | | $ 945,000 |
Debt Instrument, Interest Rate, Stated Percentage | | 12.00% | | 12.00% | | |
Debt Instrument, Maturity Date, Description | | | | maturity date of February 3, 2020 | | |
Amortization of Debt Discount (Premium) | | $ 8,000 | $ 8,000 | $ 25,000 | $ 22,000 | |
Debt Instrument Payment Term One | | | | 4% of the amount prepaid if the prepayment is made prior to February 3, 2016 | | |
Debt Instrument Payment Term Two | | | | 2% of the amount prepaid if the prepayment is made between February 4, 2016 and February 3, 2017 | | |
Debt Instrument Payment Term Three | | | | 1% of the amount prepaid if the prepayment is made between February 4, 2017 and February 3, 2018 | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 2,000,000 |
MHW Capital Management LLC [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt Instrument, Face Amount | | 945,000 | | $ 945,000 | | |
Debt Instrument, Unamortized Discount | | $ 112,000 | | $ 112,000 | | |
Description for performance related percentage | | | | performance-related fee equal to 10% of any appreciation in the valuation of the common stock | | |
First Warrant [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | 472,500 | | 472,500 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | $ 1 | | $ 1 | | |
Second Warrant [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | 425,250 | | 425,250 | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | $ 1.30 | | $ 1.30 | | |
Final Warrant [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | 218,077 | | 218,077 | | |
Warrant [Member] | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt Instrument, Unamortized Discount | | $ 168,000 | | $ 168,000 | | |
Fair Value Adjustment of Warrants | | | | $ 204,000 | | |