XML 146 R124.htm IDEA: XBRL DOCUMENT
v3.22.4

Retirement plans - Asset allocation (Details) | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Employee Benefits [Abstract] |  |
Equity securities | 20.00% | 19.00%
Debt securities | 49.00% | 54.00%
Cash and other short-term securities | 31.00% | 27.00%
Total | 100.00% | 100.00%

X
- Definition The percentage cash and cash equivalents contribute to the fair value of defined benefit plan assets. [Refer: Cash and cash equivalents; Plan assets, at fair value; Defined benefit plans [member]] [Contrast: Cash and cash equivalents, amount contributed to fair value of plan assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 142 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_142_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage instruments representing debt (rather than equity) contribute to the fair value of defined benefit plan assets. [Refer: Plan assets, at fair value; Defined benefit plans [member]] [Contrast: Debt instruments, amount contributed to fair value of plan assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 142 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_142_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_DebtInstrumentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage equity instruments contribute to the fair value of defined benefit plan assets. [Refer: Plan assets, at fair value; Defined benefit plans [member]] [Contrast: Equity instruments, amount contributed to fair value of plan assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 142 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_142_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_EquityInstrumentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Employee Benefits [Abstract] + References No definition available. + Details
Name: | mx_EmployeeBenefitsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Plan Assets At Fair Value, Allocation Percentage + References No definition available. + Details
Name: | mx_PlanAssetsAtFairValueAllocationPercentage
Namespace Prefix: | mx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant