XML 101 R79.htm IDEA: XBRL DOCUMENT
v3.22.0.1

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

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