Shareholders' equity - Summary of Changes in Number of Shares Available for Grant (Details) - shares |
12 Months Ended | ||||||
|---|---|---|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Mar. 18, 2024 |
Mar. 01, 2023 |
||||
| Subsidiary or Equity Method Investee [Line Items] | |||||||
| Shares granted | (1,044,920) | ||||||
| Options granted | (1,475,625) | (1,478,946) | [1] | ||||
| Expirations | 330,598 | 56,157 | |||||
| Forfeitures | 416,631 | 68,292 | |||||
| 2019 Share Incentive Plan | |||||||
| Subsidiary or Equity Method Investee [Line Items] | |||||||
| Available for grant, beginning balance | 1,748,352 | 2,000,364 | |||||
| Added to 2019 Share Incentive Plan | 1,320,000 | 1,320,000 | 1,320,000 | 1,320,000 | |||
| Options granted | (1,475,625) | (1,478,946) | |||||
| Shares withheld in settlement of taxes and/or exercise price | 12,735 | 50,775 | |||||
| Expirations | 330,598 | 56,157 | |||||
| Forfeitures | 585,127 | 122,840 | |||||
| Available for grant, ending balance | 1,476,267 | 1,748,352 | |||||
| 2019 Share Incentive Plan | RSUs | |||||||
| Subsidiary or Equity Method Investee [Line Items] | |||||||
| Shares granted | (1,044,920) | (225,338) | |||||
| 2019 Share Incentive Plan | Performance shares | |||||||
| Subsidiary or Equity Method Investee [Line Items] | |||||||
| Performance shares awarded | (97,500) | ||||||
| |||||||