XML 144 R122.htm IDEA: XBRL DOCUMENT
v3.22.4

Retirement plans - Expense recognized in income statement (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Net defined benefit pension plan expense: |  |
Current service cost | $ 2,329 | $ 3,232
Net interest cost | 786 | 562
Cost of settlement | 0 | (123)
Total net defined benefit pension plan expense | $ 3,115 | $ 3,671

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 2022-03-24 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard -URIDate 2022-03-24 + 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 2022-03-24 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PastServiceCostAndLossesGainsArisingFromSettlementsDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 2022-03-24 -Paragraph 5 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_5&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard -URIDate 2022-03-24 + 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