Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Detail)

v3.6.0.2
Debt - Additional Information (Detail)
3 Months Ended 9 Months Ended
Sep. 28, 2016
USD ($)
$ / shares
shares
Aug. 26, 2016
USD ($)
Aug. 12, 2016
USD ($)
Jul. 15, 2016
USD ($)
Dec. 31, 2016
USD ($)
shares
Dec. 31, 2015
USD ($)
Dec. 31, 2016
USD ($)
trading_day
shares
Dec. 31, 2015
USD ($)
Jun. 09, 2016
$ / shares
shares
Debt Instrument [Line Items]                  
Warrants issued (shares) | shares                 30,000
Warrant exercise price (in usd per share) | $ / shares $ 1.364               $ 1.08
Repayments of debt $ 11,000,000                
Subordinated Debenture                  
Debt Instrument [Line Items]                  
Debt restructuring cost   $ 50,000 $ 15,000 $ 75,000          
Convertible notes                  
Debt Instrument [Line Items]                  
Debt face amount $ 16,000,000       $ 16,000,000   $ 16,000,000    
Interest rate 8.75%                
Gross amount $ 11,084,000                
Original discount 4,916,000                
Issuance costs $ 1,700,000       212,000   212,000    
Debt issuance costs and discount         6,540,000   6,540,000    
Long-term debt         9,460,000   9,460,000    
Amortization of debt discount and issuance costs         288,000 $ 219,000 969,000 $ 509,000  
Interest expense         $ 437,000 $ 252,000 $ 1,060,000 $ 858,000  
Purchase price of principal 92.75%                
Warrants issued (shares) | shares 250,000       4,105,600   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   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 $ 8,000,000   $ 8,000,000          
Silicon Valley Bank                  
Debt Instrument [Line Items]                  
Repayments of debt 3,000,000   $ 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             30 days    
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             15 days    
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