v3.25.0.1
Share-based compensation - Summary of Black-Scholes Option-Pricing Models (Details) - $ / shares
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Disclosure Of Share Based Payments [Line Items]      
Weighted-average share price (in dollars per share) $ 275.89 $ 128.33 $ 124.47
Bottom of Range      
Disclosure Of Share Based Payments [Line Items]      
Expected volatility (%) 49.90% 51.50% 35.90%
Risk-free interest rate (%) 3.50% 3.50% 0.90%
Expected life of stock options (years) 2 years 7 months 6 days 2 years 7 months 6 days 2 years 7 months 6 days
Top of Range      
Disclosure Of Share Based Payments [Line Items]      
Expected volatility (%) 57.60% 61.20% 60.00%
Risk-free interest rate (%) 4.90% 4.90% 4.50%
Expected life of stock options (years) 4 years 9 months 18 days 4 years 9 months 18 days 4 years 9 months 18 days