Liquidity and Capital Resources - Additional Information (Detail) - USD ($) | Jul. 29, 2015 | Jun. 11, 2015 | Jun. 08, 2015 | May. 14, 2015 | May. 13, 2015 | May. 11, 2015 | Jun. 30, 2015 | Jun. 30, 2014 | Dec. 31, 2016 | Dec. 31, 2014 |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Accumulated deficit | | | | | | | $ (438,033,000) | | | $ (421,906,000) |
Total cash and cash equivalents, including restricted cash | | | | | | | 23,900,000 | | | |
Restricted cash | | | | | | | 3,000,000 | | | $ 0 |
Net cash used in operating activities | | | | | | | (13,684,000) | $ (18,552,000) | | |
Issuance of convertible preferred stock | | | | | | | $ 8,800,000 | | | |
common stock, par value (usd per share) | | | | | | | $ 0.01 | | | $ 0.01 |
Exercise price of warrants (usd per share) | | | | | | $ 3.65 | | | | |
Terms of conversion, allowed beneficial ownership of common stock, percent | | | | | | 4.99% | | | | |
Terms of conversion, maximum allowed beneficial ownership of common stock, percent | | | | | | 9.99% | | | | |
Proceeds from issuance of equity | | $ 4,000,000 | | | | $ 4,000,000 | $ 4,000,000 | | | |
preferred stock, par value (usd per share) | | | | | | | $ 0.01 | | | $ 0.01 |
Securities purchase agreement, restriction to sell equity, period | | | | | | 150 days | | | | |
Silicon Valley Bank and Oxford Finance LLC | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Repayments of line of credit | | | | $ 8,900,000 | | | | | | |
Convertible Preferred Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Issuance of convertible preferred stock | | | | | | $ 4,400,000 | | | | |
Share Price | | | | | | $ 3.765 | | | | |
Liquidation preference per share | | | | | | $ 0.01 | | | | |
Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Convertible Preferred Stock, Number of Shares Convertible Into | | | 1,203,800 | | | | | | | |
Conversion of stock, shares issued | | | | | | 1,168,659 | | | | |
Number of common stock called by warrants | | | | 1,238,779 | 1,168,659 | 70,120 | | | | |
Exercise price of warrants (usd per share) | | | | | | $ 4.45 | | | | |
Securities purchase agreement, lapse in equity sales restrictions,trictions, weighted average price per share | | | | | | $ 6 | | | | |
Securities purchase agreement, lapse in equity sales restrictions, minimum average daily trading volume | | | | | | $ 250,000 | | | | |
Securities purchase agreement, lapse in equity sales restrictions, minimum average daily trading volume, period | | | | | | 20 days | | | | |
Series B Preferred Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Issuance of convertible preferred stock | | | $ 4,400,000 | | | | | | | |
Convertible Preferred Stock, Number of Shares Convertible Into | | | 1,203,800 | | | | | | | |
Share Price | | | $ 3.655 | | | | | | | |
Number of common stock called by warrants | | | 72,230 | | | | | | | |
Exercise price of warrants (usd per share) | | | $ 3.54 | | | | | | | |
Liquidation preference per share | | | 0.01 | | | | | | | |
preferred stock, par value (usd per share) | | | $ 0.01 | | | | | | | |
2015 Loan Agreement | Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Number of common stock called by warrants | | | | | 1,000,000 | | | | | |
Expiration period | | | | | 10 years | | | | | |
Warrants and Rights Outstanding | | | | $ 3,900,000 | | | | | | |
Exercise price of warrants (usd per share) | | | | | $ 0.01 | | | | | |
Series B Purchase Agreement | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Proceeds from issuance of equity | | $ 4,000,000 | | | | | | | | |
Securities purchase agreement, restriction to sell equity, period | | | | 150 days | | | | | | |
Series B Purchase Agreement | Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Securities purchase agreement, lapse in equity sales restrictions,trictions, weighted average price per share | | $ 6 | | | | | | | | |
Securities purchase agreement, lapse in equity sales restrictions, minimum average daily trading volume | | $ 250,000 | | | | | | | | |
Securities purchase agreement, lapse in equity sales restrictions, minimum average daily trading volume, period | | 20 days | | | | | | | | |
Loans Payable | 2015 Loan Agreement | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Debt face amount | | | | $ 30,000,000 | | | | | | |
Proceeds from debt | | | | 20,000,000 | | | | | | |
Minimum balance of accounts subject to control agreement | | | | 3,000,000 | | | | | | |
Minimum balance of accounts subject to control agreement in year two | | | | $ 4,000,000 | | | | | | |
Debt term | | | | 6 years | | | | | | |
Stated interest rate | | | | 11.50% | | | | | | |
Minimum spread over stated rate | | | | 1.00% | | | | | | |
Maximum stated rate | | | | 5.00% | | | | | | |
Debt fee amount | | | | $ 450,000 | | | | | | |
Repayment fee, percent of aggregate principal amount funded | | | | 5.00% | | | | | | |
Repayment fee as percent of principal amount prepaid in year one | | | | 2.00% | | | | | | |
Repayment fee as percent of principal amount prepaid in year two and three | | | | 1.00% | | | | | | |
Minimum net financing proceeds | | | | $ 6,000,000 | | | | | | |
Loans Payable | 2015 Loan Agreement | Scenario, Forecast | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Minimum balance of accounts subject to control agreement | | | | | | | | | $ 5,000,000 | |
Loans Payable | Second Advance | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Debt face amount | | | | 10,000,000 | | | | | | |
Minimum revenues | | | | $ 12,000,000 | | | | | | |
Minimum revenues, required period | | | | 6 months | | | | | | |
Maximum number of cumulative units can be sold | | | | 100 | | | | | | |
Subsequent Event | Loans Payable | 2015 Loan Agreement | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Minimum balance of accounts subject to control agreement | $ 4,000,000 | | | | | | | | | |
Minimum net financing proceeds | $ 4,000,000 | | | | | | | | | |
Series A Warrants | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Warrants and Rights Outstanding | | | | $ 3,200,000 | | | | | | |
Proceeds from issuance of equity | | | | | | | $ 2,000,000 | | | |
Series B Warrants | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Warrants and Rights Outstanding | | $ 2,900,000 | $ 1,600,000 | | | | | | | |
Exercise price of warrants (usd per share) | | | $ 3.54 | | | | | | | |
Proceeds from issuance of equity | | $ 2,000,000 | | | | | | | | |
Series B Warrants | Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Number of common stock called by warrants | | | 1,276,060 | | | | | | | |
Series B Warrants | Series B Preferred Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Number of common stock called by warrants | | | 1,203,800 | | | | | | | |
Minimum | Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Expiration period | | | | | | 4 years 6 months | | | | |
Minimum | Series B Preferred Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Expiration period | | | 4 years 6 months | | | | | | | |
Minimum | Series B Warrants | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Conversion of Stock, Ownership Threshold Percentage | | | 4.99% | | | | | | | |
Maximum | Common Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Expiration period | | | | | | 5 years | | | | |
Maximum | Series B Preferred Stock | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Expiration period | | | 5 years | | | | | | | |
Maximum | Series B Warrants | | | | | | | | | | |
Liquidity and Capital Resources [Line Items] | | | | | | | | | | |
Conversion of Stock, Ownership Threshold Percentage | | | 9.99% | | | | | | | |