XML 137 R115.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement plans - Additional information (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 15,600,000 | $ 31,852,000
Weighted average duration of defined benefit obligation | 8 years |
Unfunded | Chile |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 19,500,000 | 35,300,000
Estimate of contributions expected to be paid to plan for next annual reporting period | 7,600,000 |
Funded |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | (5,000,000) | (4,800,000)
Estimate of contributions expected to be paid to plan for next annual reporting period | 0 |
Funded | Europe |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | 1,100,000 | $ 1,400,000
Estimate of contributions expected to be paid to plan for next annual reporting period | $ 400,000 |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimate of the expected contributions to be made to a defined benefit plan for the next annual reporting period. [Refer: Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 147 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_147_b&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 148 -Subparagraph d -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_148_d_iii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of deficit or surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 140 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_140_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_LiabilityAssetOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The weighted average duration of a defined benefit obligation. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 147 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_147_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | mx_RetirementPlanFundingStatus1Axis=mx_UnfundedPlan1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mx_RetirementPlanSponsorLocation1Axis=country_CL
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mx_RetirementPlanFundingStatus1Axis=mx_FundedPlan1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mx_RetirementPlanSponsorLocation1Axis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |