XML 142 R120.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement plans - Defined contribution pension plans (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Employee Benefits [Abstract] |  |
Defined contribution pension plans | $ 9.1 | $ 10.3

X
- Definition The amount of post-employment benefit expense relating to defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2021-01-01 -Paragraph 53 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=19&code=ifrs-tx-2021-en-r&anchor=para_53&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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