v3.24.0.1
Share capital (Tables)
12 Months Ended
Dec. 31, 2023
Disclosure of classes of share capital [abstract]  
Schedule of Share Capital Outstanding
Class AClass AClass AClass B
Authorized registered sharesShares held by On in treasuryOutstanding sharesAuthorized and outstanding registered shares
Balance at January 1, 2023299,998,125 (18,021,738)281,976,387 345,437,500 
Sale of treasury shares related to share-based compensation— 2,273,239 2,273,239 — 
Purchase of On shares from employees (sell-to-cover) at market price and held in treasury— (34,349)(34,349)— 
Balance at December 31, 2023299,998,125 (15,782,848)284,215,277 345,437,500