XML 141 R119.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement plans - Asset allocation (Details) | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Employee Benefits [Abstract] |  |
Equity securities | 19.00% | 18.00%
Debt securities | 54.00% | 57.00%
Cash and other short-term securities | 27.00% | 25.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 2021-01-01 -Paragraph 142 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_142_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_CashAndCashEquivalentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 142 -Subparagraph c -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_142_c&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_DebtInstrumentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 142 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_142_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_EquityInstrumentsPercentageContributedToFairValueOfPlanAssets
Namespace Prefix: | ifrs-full_
Data Type: | num: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: | num:percentItemType
Balance Type: | na
Period Type: | instant