XML 143 R120.htm IDEA: XBRL DOCUMENT
v3.24.0.1

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

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 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 + 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 [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 141 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_d&doctype=Standard -URIDate 2023-03-23 + 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 [member]] [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 2023-01-01 -Paragraph 5 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_5&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2023-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard -URIDate 2023-03-23 + 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