XML 149 R126.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement plans - Expense recognized in income statement (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Net defined benefit pension plan expense: |  |
Current service cost | $ 3,395 | $ 2,246
Past service cost | 0 | 2,479
Net interest cost | 756 | 648
Cost of settlement | 1,059 | (58)
Total net defined benefit pension plan expense | $ 5,210 | $ 5,315

X
- Definition The expense of employee service in the current period arising from defined benefit plans. [Refer: Post-employment benefit expense in profit or loss, defined benefit plans] [Contrast: Increase in net defined benefit liability (asset) resulting from current service cost] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_CurrentServiceCostDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of interest expense (income) arising from defined benefit plans. [Refer: Interest income (expense); Post-employment benefit expense in profit or loss, defined benefit plans] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_InterestExpenseIncomeDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense (income) resulting from past service cost and losses (gains) arising from settlements. [Refer: Post-employment benefit expense in profit or loss, defined benefit plans; Past service cost, defined benefit plans] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from past service cost and losses (gains) arising from settlements] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans
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 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 amount of post-employment benefit expense included in profit or loss relating to defined benefit plans. [Refer: Profit (loss); Defined benefit plans [domain]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from expense (income) in profit or loss] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 5 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_5&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net Defined Benefit Pension Plan Expense [Abstract] + References No definition available. + Details
Name: | mx_NetDefinedBenefitPensionPlanExpenseAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration