XML 54 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-based compensation Stock-based compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2017
Oct. 31, 2016
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Stock-based compensation expense $ 21 $ 55 $ 80 $ 216
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Restricted stock based compensation expense $ 294 $ 151 $ 938 $ 819