XML 104 R81.htm IDEA: XBRL DOCUMENT
v3.24.0.1

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

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