XML 138 R116.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement plans - Expense recognized in income statement (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Net defined benefit pension plan expense: |  |
Current service cost | $ 3,232 | $ 3,016
Net interest cost | 562 | 534
Past service cost and losses (gains) arising from settlements, defined benefit plans | (123) | 0
Net defined benefit pension plan expense | $ 3,671 | $ 3,550

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 2021-01-01 -Paragraph 135 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_135_b&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 135 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_135_b&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 135 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_135_b&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 5 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_5&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 135 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_135_b&doctype=Standard -URIDate 2021-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