XML 148 R125.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement plans - Narrative (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | $ 16,798,000 | $ 16,973,000
Weighted average duration of defined benefit obligation | 6 years |
Minimum funding requirement | $ 0 | $ 0
Discount rates | 5.20% | 5.30%
Defined contribution pension plans | $ 12,300,000 | $ 11,000,000.0
Discount rate |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Percentage of reasonably possible increase in actuarial assumption | 1.00% |
Percentage of reasonably possible decrease in actuarial assumption | 1.00% |
Increase (decrease) in defined benefit obligation due to reasonably possible decrease in actuarial assumption | $ 2,300,000 |
Unfunded | Chile |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | 19,200,000 | 20,200,000
Estimate of contributions expected to be paid to plan for next annual reporting period | 11,000,000.0 |
Unfunded | Egypt |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Retirement obligation (asset) | 1,200,000 | 2,500,000
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) | (3,700,000) | (5,300,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) | (100,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 [domain]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 144 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_144&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ActuarialAssumptionOfDiscountRates
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022: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 [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 147 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_147_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 148 -Subparagraph d -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_148_d_iii&doctype=Standard -URIDate 2024-03-27 + 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 [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 145 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_145_a&doctype=Standard -URIDate 2024-03-27 + 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 [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_140_a&doctype=Standard -URIDate 2024-03-27 + 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 [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 145 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_145_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The reasonably possible percentage of the increase in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 145 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_145_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PercentageOfReasonablyPossibleIncreaseInActuarialAssumption
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022: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 2024-01-01 -Paragraph 53 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_53&doctype=Standard -URIDate 2024-03-27 + 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 2024-01-01 -Paragraph 147 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_147_c&doctype=Standard -URIDate 2024-03-27 + 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: |