XML 147 R124.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement plans - Defined benefit pension plans (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | $ 16,973 |
Past service cost | 0 | $ (2,479)
Balance, end of year | 16,798 | 16,973
Unfunded status | 16,798 | 16,973
Minimum funding requirement | 0 | 0
Accrued benefit obligations |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 55,181 | 53,586
Current service cost | 3,395 | 2,246
Past service cost | 0 | 2,479
Interest cost on accrued benefit obligations / income on assets | 2,436 | 2,549
Benefit payments | (3,657) | (4,280)
Settlements | (12,246) | (3,738)
Actuarial (gain) loss | (206) | 2,074
Foreign exchange gain (loss) | (4,856) | 265
Balance, end of year | 40,047 | 55,181
Fair values of plan assets |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 38,208 | 38,347
Interest cost on accrued benefit obligations / income on assets | 1,680 | 1,901
Contributions | 2,536 | 5,687
Benefit payments | (3,657) | (4,280)
Settlements | (13,305) | (3,680)
Return on plan assets | 45 | (705)
Foreign exchange gain (loss) | (2,258) | 938
Balance, end of year | $ 23,249 | $ 38,208

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from contributions to a defined benefit plan. [Refer: Net defined benefit liability (asset); Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_f&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ContributionsToPlanNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from employee service in the current period. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 decrease (increase) in a net defined benefit liability (asset) resulting from the remeasurement of that net defined benefit liability (asset). [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from changes in foreign exchange rates. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from the passage of time. [Refer: Interest expense; Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset
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 [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 increase (decrease) in the net defined benefit liability (asset) resulting from past service cost. Past service cost is the change in the present value of the defined benefit obligation for employee service in prior periods, resulting from a plan amendment (the introduction or withdrawal of, or changes to, a defined benefit plan) or a curtailment (a significant reduction by the entity in the number of employees covered by a plan). [Refer: Net defined benefit liability (asset); Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_g&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan in respect of settlements. [Refer: Decrease (increase) in net defined benefit liability (asset) resulting from gains (losses) arising from settlements; Net defined benefit liability (asset); Defined benefit plans [domain]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_g&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PaymentsInRespectOfSettlementsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from the return on plan assets, excluding amounts included in interest income or expense. The return on plan assets is interest, dividends and other revenue derived from the plan assets, together with realised and unrealised gains or losses on the plan assets, less any costs of managing plan assets and less any tax payable by the plan itself, other than tax included in the actuarial assumptions used to measure the present value of the defined benefit obligation. [Refer: Plan assets [member]; Net defined benefit liability (asset); Actuarial assumptions [domain]; Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 141 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_141_c_i&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of any plan assets, less the present value of the defined benefit obligation. [Refer: Plan assets [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 57 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_57_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_SurplusDeficitInPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Defined Benefit Plan, Minimum Funding Requirement + References No definition available. + Details
Name: | mx_DefinedBenefitPlanMinimumFundingRequirement
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_NetDefinedBenefitLiabilityAssetAxis=ifrs-full_PresentValueOfDefinedBenefitObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NetDefinedBenefitLiabilityAssetAxis=ifrs-full_PlanAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |