XML 150 R127.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Retirement plans - Expense recognized in other comprehensive income (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Employee Benefits [Abstract] |  |
Actuarial gain (loss) | $ 1,353 | $ (2,827)

X
- Definition The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [domain]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 19 -IssueDate 2024-01-01 -Paragraph 135 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2024-en-r&anchor=para_135_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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