XML 62 R51.htm IDEA: XBRL DOCUMENT v3.8.0.1
Restricted cash (Details) - USD ($)
$ in Thousands
Oct. 31, 2017
Jan. 31, 2017
Oct. 31, 2016
Jan. 31, 2016
Restricted Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents $ 8,373 $ 7,603 $ 9,008  
Restricted cash 898 1,098 946  
Cash, cash equivalents and restricted cash shown in the statement of cashflows $ 9,271 $ 8,701 $ 9,954 $ 18,955