XML 105 R82.htm IDEA: XBRL DOCUMENT
v3.24.0.1

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

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 2023-01-01 -Paragraph 84 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_84_e&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 84 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_84_a&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_d&doctype=Standard -URIDate 2023-03-23 + 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: |