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

Retirement plans - Defined benefit pension plans (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | $ 15,600 |
Balance, end of year | 15,239 | $ 15,600
Unfunded status | 15,239 | 15,600
Minimum funding requirement | 0 | 0
Accrued benefit obligations |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 62,208 | 78,810
Current service cost | 2,329 | 3,232
Interest cost on accrued benefit obligations / income on assets | 2,007 | 1,619
Benefit payments | (5,760) | (9,188)
Settlements | 0 | (123)
Actuarial (gain) loss | (4,047) | (7,911)
Foreign exchange gain (loss) | (3,151) | (4,231)
Balance, end of year | 53,586 | 62,208
Fair values of plan assets |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 46,608 | 46,958
Interest cost on accrued benefit obligations / income on assets | 1,221 | 1,057
Benefit payments | (5,760) | (9,188)
Contributions | 4,457 | 7,528
Return on plan assets | (5,173) | 2
Foreign exchange gain (loss) | (3,006) | 251
Balance, end of year | $ 38,347 | $ 46,608

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from contributions to a defined benefit plan. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_f&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ContributionsToPlanNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from employee service in the current period. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The decrease (increase) in a net defined benefit liability (asset) resulting from the remeasurement of that net defined benefit liability (asset). [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from changes in foreign exchange rates. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_e&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from the passage of time. [Refer: Interest expense; Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of deficit or surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_140_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_LiabilityAssetOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan. [Refer: Net defined benefit liability (asset)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_g&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan in respect of settlements. [Refer: Decrease (increase) in net defined benefit liability (asset) resulting from gains (losses) arising from settlements; Net defined benefit liability (asset); Defined benefit plans [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_g&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_PaymentsInRespectOfSettlementsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The decrease (increase) in the net defined benefit liability (asset) resulting from the return on plan assets, excluding amounts included in interest income or expense. The return on plan assets is interest, dividends and other revenue derived from the plan assets, together with realised and unrealised gains or losses on the plan assets, less any costs of managing plan assets and less any tax payable by the plan itself, other than tax included in the actuarial assumptions used to measure the present value of the defined benefit obligation. [Refer: Plan assets [member]; Net defined benefit liability (asset); Actuarial assumptions [member]; Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 141 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_c_i&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fair value of any plan assets, less the present value of the defined benefit obligation. [Refer: Plan assets [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2022-03-24 -Paragraph 57 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_57_a&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_SurplusDeficitInPlan
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Defined Benefit Plan, Minimum Funding Requirement + References No definition available. + Details
Name: | mx_DefinedBenefitPlanMinimumFundingRequirement
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_NetDefinedBenefitLiabilityAssetAxis=ifrs-full_PresentValueOfDefinedBenefitObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_NetDefinedBenefitLiabilityAssetAxis=ifrs-full_PlanAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |