Stock-based compensation - Assumptions (Details) |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2020 |
Jan. 31, 2019 |
Jan. 31, 2018 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Expected dividend yield | 0.00% | 0.00% | 0.00% |
| Minimum | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Expected stock price volatility | 35.98% | 36.53% | 37.79% |
| Risk-free interest rate | 2.21% | 2.52% | 1.18% |
| Expected life of options | 4 years 11 months 12 days | 5 years 2 months 1 day | 4 years 6 months |
| Maximum | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Expected stock price volatility | 36.53% | 37.84% | 38.01% |
| Risk-free interest rate | 2.43% | 2.79% | 2.07% |
| Expected life of options | 5 years 1 month 2 days | 6 years 3 months | 6 years 3 months |