XML 104 R82.htm IDEA: XBRL DOCUMENT
v3.22.4

Other long-term liabilities - Provision for site restoration costs (Details) - Provision for site restoration costs - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Reconciliation of changes in other provisions [abstract] |  |
Balance at beginning of period | $ 29,355 | $ 31,941
New or revised provisions | 6,915 | (2,767)
Accretion expense | 311 | 181
Balance at end of period | $ 36,581 | $ 29,355

X
- Definition The increase in other provisions through adjustments arising from the passage of time. [Refer: Other provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of provisions other than provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition New or revised, other provisions + References No definition available. + Details
Name: | mx_NewOrRevisedOtherProvisions
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=ifrs-full_ProvisionForDecommissioningRestorationAndRehabilitationCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |