Stock-based compensation - Assumptions to Estimate Fair Value of Stock Options (Details) - Stock options  | 
3 Months Ended | |
|---|---|---|
Apr. 30, 2022  | 
May 01, 2021  | 
|
| Weighted-average assumptions to estimate fair value | ||
| Volatility rate (as a percent) | 49.00% | 46.90% | 
| Average risk-free interest rate (as a percent) | 2.40% | 0.40% | 
| Average expected life | 3 years 4 months 24 days | 3 years 10 months 24 days | 
| Dividend yield (as a percent) | 0.00% | 0.00% | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition The risk-free interest rate assumption that is used in valuing an option on its own shares. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Rate of weighted-average expected volatility for award under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  |