XML 48 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Restricted cash (Details) - USD ($)
$ in Thousands
Apr. 30, 2018
Jan. 31, 2018
Apr. 30, 2017
Jan. 31, 2017
Restricted Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents $ 9,879 $ 7,084 $ 9,059  
Restricted cash 1,101 1,237 1,140  
Cash, cash equivalents and restricted cash shown in the statement of cashflows $ 10,980 $ 8,321 $ 10,199 $ 8,701