XML 141 R118.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Retirement plans - Defined benefit pension plans (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | $ 15,239 |
Past service cost | (2,479) | $ 0
Balance, end of year | 16,973 | 15,239
Unfunded status | 16,973 | 15,239
Minimum funding requirement | 0 | 0
Accrued benefit obligations |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 53,586 | 62,208
Current service cost | 2,246 | 2,329
Past service cost | 2,479 | 0
Interest cost on accrued benefit obligations / income on assets | 2,549 | 2,007
Benefit payments | (4,280) | (5,760)
Settlements | (3,738) | 0
Actuarial (gain) loss | 2,074 | (4,047)
Foreign exchange gain (loss) | 265 | (3,151)
Balance, end of year | 55,181 | 53,586
Fair values of plan assets |  |
Disclosure of net defined benefit liability (asset) [line items] |  |
Balance, beginning of year | 38,347 | 46,608
Interest cost on accrued benefit obligations / income on assets | 1,901 | 1,221
Benefit payments | (4,280) | (5,760)
Settlements | (3,680) | 0
Contributions | 5,687 | 4,457
Return on plan assets | (705) | (5,173)
Foreign exchange gain (loss) | 938 | (3,006)
Balance, end of year | $ 38,208 | $ 38,347

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 2023-01-01 -Paragraph 141 -Subparagraph f -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_f&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_a&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_e&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 140 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LiabilityAssetOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The increase (decrease) in the net defined benefit liability (asset) resulting from past service cost. Past service cost is the change in the present value of the defined benefit obligation for employee service in prior periods, resulting from a plan amendment (the introduction or withdrawal of, or changes to, a defined benefit plan) or a curtailment (a significant reduction by the entity in the number of employees covered by a 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 2023-01-01 -Paragraph 141 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_d&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 2023-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_g&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_g&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 141 -Subparagraph c -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_i&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 57 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_57_a&doctype=Standard -URIDate 2023-03-23 + 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: |