XML 142 R119.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Retirement plans - Narrative (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 16,973,000 | $ 15,239,000
Weighted average duration of defined benefit obligation | 7 years |
Minimum funding requirement | $ 0 | $ 0
Discount rates | 5.30% | 5.10%
Defined contribution pension plans | $ 11,000,000 | $ 9,700,000
Discount rate |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Percentage of reasonably possible decrease in actuarial assumption | 1.00% |
Increase (decrease) in defined benefit obligation due to reasonably possible decrease in actuarial assumption | $ 3,600,000 |
Unfunded | Chile |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | 20,200,000 | 19,200,000
Estimate of contributions expected to be paid to plan for next annual reporting period | 11,300,000 |
Unfunded | Egypt |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | 2,500,000 | 0
Estimate of contributions expected to be paid to plan for next annual reporting period | 100,000 |
Funded |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | (5,300,000) | (3,600,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) | (400,000) | $ (400,000)
Estimate of contributions expected to be paid to plan for next annual reporting period | $ 500,000 |

X
- Definition The discount rate used as the significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit obligation, at present value; Actuarial assumptions [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 144 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_144&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ActuarialAssumptionOfDiscountRates
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 2023-01-01 -Paragraph 147 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_147_b&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 148 -Subparagraph d -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_148_d_iii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in a defined benefit obligation that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 145 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_145_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 2023-01-01 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LiabilityAssetOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reasonably possible percentage of the decrease in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 145 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_145_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of post-employment benefit expense relating to defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 53 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_53&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 2023-01-01 -Paragraph 147 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_147_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other Comprehensive Income, Before Tax, Gains (Losses) On Remeasurements Of Defined Benefit Plans, Minimum Funding Requirement + References No definition available. + Details
Name: | mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansMinimumFundingRequirement
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_ActuarialAssumptionsAxis=ifrs-full_ActuarialAssumptionOfDiscountRatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_RetirementPlanSponsorLocation1Axis=country_EG
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: |