Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details)

v3.6.0.2
Stockholders' Equity (Details)
$ / shares in Units, $ in Thousands
6 Months Ended 12 Months Ended
Oct. 31, 2016
shares
Jul. 01, 2016
USD ($)
shares
Dec. 31, 2015
shares
Jul. 10, 2015
$ / shares
shares
Jul. 01, 2015
USD ($)
shares
Dec. 31, 2016
USD ($)
shares
Jun. 30, 2016
USD ($)
shares
Jul. 11, 2015
shares
May 10, 2013
$ / shares
Class of Stock [Line Items]                  
Common stock, shares, issued (in shares)           7,088,999 6,972,023    
Reverse stock split       0.125          
Treasury Stock [Roll Forward]                  
Fiscal year opening balance (in shares)   1,209,389     1,209,389 1,209,389 1,209,389    
Net shares repurchased for employee tax and option exercise price obligations related to the vesting of restricted stock and the exercise of employee stock options (in shares)           2,529 5,220    
Shares repurchased from former executive (in shares)           0 2,284    
Cancellation of shares repurchased (in shares)           (2,529) (7,504)    
Balance at end of period (in shares)       9,675,114   1,209,389 1,209,389    
Fiscal year opening balance | $   $ 9,806     $ 9,806 $ 9,806 $ 9,806    
Net shares repurchased for employee tax and option exercise price obligations related to the vesting of restricted stock and the exercise of employee stock options, value | $           3 11    
Shares repurchased from former executive, value | $           0 6    
Cancellation of shares repurchased, value | $           (3) (17)    
Balance at end of period | $           $ 9,806 $ 9,806    
Restricted Stock                  
Class of Stock [Line Items]                  
Vested restricted stock award (in shares) 2,083 12,500 7,500   12,500        
Treasury Stock [Roll Forward]                  
Net shares repurchased for employee tax and option exercise price obligations related to the vesting of restricted stock and the exercise of employee stock options (in shares)   2,529 2,398   2,822        
RSUs                  
Treasury Stock [Roll Forward]                  
Net shares repurchased for employee tax and option exercise price obligations related to the vesting of restricted stock and the exercise of employee stock options (in shares)       2,284          
Common Stock                  
Class of Stock [Line Items]                  
Common stock, shares, issued (in shares)       55,313,647       6,911,921  
Series A Preferred Stock                  
Class of Stock [Line Items]                  
Purchase price (in dollars per share) | $ / shares       $ 1.22149381         $ 1.22149381
Reverse stock split       9.77586545