XML 110 R87.htm IDEA: XBRL DOCUMENT
v3.24.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, 2023 | Dec. 31, 2022
Earnings per share [abstract] |  |
Denominator for basic net income per common share (in shares) | 67,805,220 | 71,422,360
Effect of dilutive stock options (in shares) | 6,395 | 10,108
Effect of dilutive TSARS (in shares) | 0 | 245,016
Denominator for diluted net income per common share (in shares) | 67,811,615 | 71,677,484

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 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + 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