XML 138 R115.htm IDEA: XBRL DOCUMENT
v3.20.4

Retirement plans - Additional information (Details) - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 31,852,000 | $ 22,170,000
Weighted average duration of defined benefit obligation | 8 years |
Unfunded | Chile |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 35,300,000 | 28,100,000
Estimate of contributions expected to be paid to plan for next annual reporting period | 9,500,000 |
Funded |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | (4,800,000) | (5,700,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,400,000 | $ (200,000)
Estimate of contributions expected to be paid to plan for next annual reporting period | $ 500,000 |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain 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 2020-01-01 -Paragraph 147 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2020-en-r&anchor=para_147_b&doctype=Standard -URIDate 2020-01-01 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2020-01-01 -Paragraph 148 -Subparagraph d -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2020-en-r&anchor=para_148_d_iii&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 140 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2020-en-r&anchor=para_140_a&doctype=Standard -URIDate 2020-01-01 + 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 2020-01-01 -Paragraph 147 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2020-en-r&anchor=para_147_c&doctype=Standard -URIDate 2020-01-01 + 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: |