XML 74 R59.htm IDEA: XBRL DOCUMENT v3.8.0.1
Significant accounting policies Cash and cash equivalents (Details) - USD ($)
$ in Thousands
Jan. 31, 2018
Jan. 31, 2017
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents $ 7,084 $ 7,603
United States    
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents 700 200
Foreign    
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents $ 6,400 $ 7,400