XML 107 R84.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Other long-term liabilities - Narrative (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Subclassifications of assets, liabilities and equities [abstract] |  |
Undiscounted amount of estimated cash flows required to settle liabilities | $ 64.1 | $ 50.6

X
- References No definition available. + Details
Name: | ifrs-full_SubclassificationsOfAssetsLiabilitiesAndEquitiesAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Undiscounted Estimated Cash Flows Required To Settle Liabilities + References No definition available. + Details
Name: | mx_UndiscountedEstimatedCashFlowsRequiredToSettleLiabilities
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration