XML 63 R51.htm IDEA: XBRL DOCUMENT v3.6.0.2
SENIOR LOAN FACILITY (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 27, 2016
Jun. 29, 2016
Mar. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Oct. 24, 2016
Line of Credit Facility [Line Items]            
Borrowings under senior loan facility       $ 29,995 $ 0  
Senior loan facility issuance costs       2,002 41  
Deferred loan issuance costs, fair value of common stock issued to lenders       28,425 $ 0  
Senior Loan Facility            
Line of Credit Facility [Line Items]            
Senior loan facility issuance costs     $ 30,082 30,082    
Senior Loan Facility | Senior Loan Facility            
Line of Credit Facility [Line Items]            
Maximum borrowing capacity   $ 30,000        
Remaining borrowing capacity $ 15,000         $ 15,000
Borrowings under senior loan facility       29,995    
Line of credit annual interest rate (as percent)   10.00%        
Debt facility fee, legal and investment baking costs       600    
Deferred loan issuance costs, fair value of common stock issued to lenders       28,425    
Senior Loan Facility | Senior Loan Facility | Common Stock            
Line of Credit Facility [Line Items]            
Shares issued (in shares) 2,803,302          
Senior Loan Facility | Senior Loan Facility | Deferred loans issuance costs, net            
Line of Credit Facility [Line Items]            
Senior loan facility issuance costs       30,082    
Senior Loan Facility | Senior Loan Facility | Tax Credits            
Line of Credit Facility [Line Items]            
Collateral assigned for accounts receivables       25,000    
Senior Loan Facility | Senior Loan Facility | Tax Credits | Customer A            
Line of Credit Facility [Line Items]            
Threshold amount tax credits received as proceeds for accounts receivable       $ 15,000