v3.19.1
Stock-based compensation (Assumptions) (Details)
3 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected dividend yield 0.00% 0.00%
Expected stock price volatility   37.84%
Expected stock price volatility, minimum 35.98%  
Expected stock price volatility, maximum 36.53%  
Risk-free interest rate, minimum 2.21% 2.52%
Risk-free interest rate, maximum 2.43% 2.68%
Minimum    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected life of options 4 years 11 months 12 days 5 years 2 months 1 day
Maximum    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected life of options 5 years 1 month 2 days 6 years 3 months