XML 57 R46.htm IDEA: XBRL DOCUMENT v3.7.0.1
Restricted cash (Details) - USD ($)
$ in Thousands
Apr. 30, 2017
Jan. 31, 2017
Apr. 30, 2016
Jan. 31, 2016
Restricted Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents $ 9,059 $ 7,603 $ 12,858  
Restricted cash 1,140 1,098 944  
Cash, cash equivalents and restricted cash shown in the statement of cashflows $ 10,199 $ 8,701 $ 13,802 $ 18,955