Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Detail)

v3.6.0.2
Debt - Additional Information (Detail)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2017
Dec. 31, 2016
USD ($)
shares
Nov. 30, 2016
USD ($)
$ / shares
shares
Jan. 31, 2016
USD ($)
Oct. 31, 2015
USD ($)
shares
Feb. 28, 2015
Installments
Sep. 30, 2014
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
$ / shares
shares
Debt Instrument [Line Items]                  
Line of credit   $ 0           $ 0 $ 3,000
Stock issued to chairman of the board of directors, shares | shares   200,000              
Stock issued to chairman of the board of directors, value   $ 500              
2015 Convertible Note due January 2017 with a related party   6,000           6,000 5,952
2016 Convertible Note due November 2017 with a related party   10,465           10,465 0
Interest expense, related party               682 33
Cash paid for interest to related party               501 0
Maximum amount of secured borrowing arrangement   $ 10,000           10,000  
Cash received on account of sale of accounts               43,700  
Repayments of account receivable sale               $ 41,900  
Executive Chairman Of Board Of Directors Convertible Secured Promissory Note Agreement [Member]                  
Debt Instrument [Line Items]                  
Interest on convertible note     10.00%            
2016 Convertible Note due November 2017 with a related party     $ 11,000            
Debt Instrument, Convertible, Conversion Price | $ / shares     $ 1.83            
Common stock reserved for future conversion | shares     6,010,929            
Debt Instrument, Defaulted Interest Rate, Stated Percentage     12.00%            
Debt instrument, maturity period     2017-11            
Debt discount upon issuance of the convertible note     $ 601            
Loan Modification Agreement [Member]                  
Debt Instrument [Line Items]                  
Interest on convertible note 10.00%                
Debt Instrument, Defaulted Interest Rate, Stated Percentage 12.00%                
A N B Bank [Member]                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Expiration Date             Sep. 30, 2017    
Debt Instrument, Basis Spread on Variable Rate             2.00%    
Line of Credit Facility, Interest Rate Description             Prime rate plus 2%    
Line of credit                 3,000
Interest on convertible note           5.25%      
Number of installments | Installments           36      
Debt Instrument Maturity Date           Feb. 28, 2018      
Term loan outstanding borrowings                 $ 2,900
A N B Bank [Member] | Executive Chairman Of Board Of Directors Convertible Secured Promissory Note Agreement [Member] | Interim Chief Executive Officer President And Chairman [Member]                  
Debt Instrument [Line Items]                  
Interest on convertible note                 8.00%
2015 Convertible Note due January 2017 with a related party                 $ 6,000
Debt Instrument, Convertible, Conversion Price | $ / shares                 $ 2.30
Debt Instrument, Defaulted Interest Rate, Stated Percentage                 10.00%
Debt instrument, maturity period                 2017-01
Debt discount upon issuance of the convertible note                 $ 52
A N B Bank [Member] | Convertible Debt Securities [Member] | Executive Chairman Of Board Of Directors Convertible Secured Promissory Note Agreement [Member]                  
Debt Instrument [Line Items]                  
Common stock reserved for future conversion | shares                 2,608,695
Loan Modification Agreement [Member] | A N B Bank [Member]                  
Debt Instrument [Line Items]                  
Debt Instrument Maturity Date         Jan. 15, 2016        
Balance of debt subject to loan modification         $ 6,200        
Loan Modification Agreement [Member] | A N B Bank [Member] | Interim Chief Executive Officer President And Chairman [Member]                  
Debt Instrument [Line Items]                  
Stock issued to chairman of the board of directors, shares | shares         28,571        
Stock issued to chairman of the board of directors, value         $ 80        
Prestige Capital Corporation [Member]                  
Debt Instrument [Line Items]                  
Debt Instrument Maturity Date               Mar. 31, 2017  
Percent of net face amount of assigned accounts receivable       80.00%          
Percent of remaining face amount of assigned accounts receivable       20.00%          
Sale of accounts               $ 54,600  
Cash received on account of sale of accounts               $ 43,700  
Prestige Capital Corporation [Member] | Maximum [Member]                  
Debt Instrument [Line Items]                  
Maximum amount of secured borrowing arrangement       $ 10,000