XML 57 R42.htm IDEA: XBRL DOCUMENT v3.8.0.1
Revolving credit line - Narrative (Details) - USD ($)
Jul. 31, 2017
Mar. 27, 2017
Mar. 01, 2012
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]          
Number of consecutive months of positive adjusted EBITDA 2 months        
Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Revolving credit line       $ 4,900,000 $ 0
Bridge Bank – Revolving Credit Line - March 1, 2012 | Bridge Bank, N.A. | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Maximum borrowing capacity   $ 10,000,000 $ 10,000,000    
Percentage of eligible accounts receivable under allowable borrowings     85.00%    
Period for eligible accounts receivable     90 days    
Remaining borrowing capacity       $ 3,700,000  
Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Outstanding advances basis spread on variable rate 0.25%        
Outstanding advances on non-formula capacity basis spread on variable rate 0.75%        
Period From February 1, 2017 Through December 31, 2017 | Eighth Business Financing Modification Agreement with Western Alliance Bank | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Minimum monthly quick ratio   0.65      
Period From January 1, 2018 and After | Eighth Business Financing Modification Agreement with Western Alliance Bank | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Minimum monthly quick ratio   0.75      
Period From January 1, 2018 and After | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Minimum monthly quick ratio 0.70        
Period After June 30, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Advance rate 85.00%        
Quarter Ending March 31, 2017 | Eighth Business Financing Modification Agreement with Western Alliance Bank | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Maximum decline in AEBITDA from projected amount   $ 300,000      
Adjusted EBITDA quarterly consolidated revenue projections maximum deviation percentage   25.00%      
Period From June 1, 2017 to December 31, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Minimum monthly quick ratio 0.60        
Quarter Ending June 30, 2017 | Eighth Business Financing Modification Agreement with Western Alliance Bank | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Maximum decline in AEBITDA from projected amount   $ 400,000      
Quarter Ending June 30, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Adjusted EBITDA quarterly consolidated revenue projections maximum deviation percentage 25.00%        
Period After July 31, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Non-formula capacity $ 500,000        
Period After October 15, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Non-formula capacity 250,000        
Period at December 31, 2017 | Ninth Business Financing Modification Agreement | Line of Credit | Revolving Credit Facility          
Debt Instrument [Line Items]          
Non-formula capacity $ 0