Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Detail)

v3.7.0.1
Debt - Additional Information (Detail)
3 Months Ended
Sep. 28, 2016
USD ($)
$ / shares
shares
Jun. 30, 2017
USD ($)
day
trading_day
shares
Jun. 30, 2016
USD ($)
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]        
Amortization of debt discount and debt issuance costs   $ 353,000 $ 342,000  
Repayments of debt $ 11,000,000      
Convertible notes        
Debt Instrument [Line Items]        
Debt face amount $ 16,000,000     $ 16,000,000
Interest rate 8.75%      
Original discount $ 4,916,000      
Gross amount 11,084,000      
Issuance costs $ 1,700,000     212,000
Debt issuance costs and discount       5,975,000
Long-term debt       $ 10,025,000
Amortization of debt discount and debt issuance costs   353,000 342,000  
Interest expense   $ 354,000 $ 340,000  
Purchase price of principal 92.75%      
Warrants issued (shares) | shares 250,000 4,105,600    
Right to receive cash   2.50%    
Convertible debt conversion price ($ per share) | $ / shares $ 1.364      
Redemption price   $ 1,000    
Redemption price as of principal if fundamental change   120.00%    
Common equity threshold   50.00%    
Warrant to purchase (in shares) | shares   256.60    
Warrant exercise price (in usd per share) | $ / shares $ 1.364      
Proceeds from debt $ 14,316,000      
North Atlantic Capital        
Debt Instrument [Line Items]        
Repayments of debt 8,000,000      
Silicon Valley Bank        
Debt Instrument [Line Items]        
Repayments of debt 3,000,000      
Conversion period one | Convertible notes        
Debt Instrument [Line Items]        
Stock price threshold   200.00%    
Number of trading days threshold | trading_day   20    
Consecutive trading day period | day   30    
Trading day threshold after notice given   5 days    
Conversion period two | Convertible notes        
Debt Instrument [Line Items]        
Stock price threshold   150.00%    
Consecutive trading day period | day   15    
Convertible note embedded derivative liability | Convertible notes        
Debt Instrument [Line Items]        
Derivative liability 3,693,000      
Warrant liability | Convertible notes        
Debt Instrument [Line Items]        
Derivative liability $ 1,223,000