XML 67 R38.htm IDEA: XBRL DOCUMENT v3.10.0.1
Restricted cash (Details) - USD ($)
$ in Thousands
Jul. 31, 2018
Jan. 31, 2018
Jul. 31, 2017
Jan. 31, 2017
Restricted Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents $ 5,247 $ 7,084 $ 8,546  
Restricted cash 1,108 1,237 893  
Cash, cash equivalents and restricted cash shown in the statement of cashflows $ 6,355 $ 8,321 $ 9,439 $ 8,701