XML 102 R80.htm IDEA: XBRL DOCUMENT
v3.22.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, 2021 | Dec. 31, 2020
Reconciliation of changes in other provisions [abstract] |  |
Balance at beginning of period | $ 31,941 | $ 31,092
New or revised provisions | (2,767) | 423
Accretion expense | 181 | 426
Balance at end of period | $ 29,355 | $ 31,941

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