XML 113 R90.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Net income per common share - Reconciliation of denominator used for calculation of diluted net income per common share (Details) - shares | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Earnings per share [abstract] |  |
Denominator for basic net income per common share (in shares) | 67,387,809 | 67,805,220
Effect of dilutive stock options (in shares) | 6,438 | 6,395
Effect of dilutive TSARS (in shares) | 165,813 | 0
Denominator for diluted net income per common share (in shares) | 67,560,060 | 67,811,615

X
- Definition The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2024-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2024-en-r&anchor=para_70_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_AdjustedWeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The potential dilutive effect on the weighted average number of ordinary shares that relate to the assumed exercise of the entity's share options. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 33 -IssueDate 2024-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2024-en-r&anchor=para_70_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DilutiveEffectOfShareOptionsOnNumberOfOrdinaryShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ifrs-full_EarningsPerShareAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2024-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2024-en-r&anchor=para_70_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_WeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Dilutive Securities, Effect On Basic Earnings Per Share, Tandem Share Appreciation Rights + References No definition available. + Details
Name: | mx_DilutiveSecuritiesEffectOnBasicEarningsPerShareTandemShareAppreciationRights
Namespace Prefix: | mx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration