| Share-based compensation - Options (Details) - $ / shares | 12 Months Ended | ||
|---|---|---|---|
| Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | |
| Options granted on market value at grant date | |||
| Number of options over ordinary shares granted (in shares) | 55,282,716 | 60,891,430 | 31,826,293 | 
| Weighted average fair value of ordinary shares options (in dollars per share) | $ 0.12 | $ 0.12 | $ 0.37 | 
| Options with nominal exercise price | |||
| Number of additional options with a nominal exercise price granted | 34,560,096 | 27,375,252 | 24,248,424 | 
| Weighted average fair value of options with a nominal exercise price | $ 0.15 | $ 0.27 | $ 0.51 | 
| X | ||||||||||
| 
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Gross number of share options (or share units) granted with nominal exercise price during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Gross number of share options (or share units) granted during the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |