XML 107 R85.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Net income (loss) per common share - Reconciliation of denominator used for calculation of basic and diluted net income per common share (Details) - shares | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Earnings per share [abstract] |  |
Denominator for basic net income (loss) per common share (in shares) | 76,039,118 | 76,196,395
Effect of dilutive stock options (in shares) | 7,028 | 0
Effect of dilutive TSARS (in shares) | 197,631 | 0
Denominator for diluted net income (loss) per common share (in shares) | 76,243,777 | 76,196,395

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 2021-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2021-en-r&anchor=para_70_b&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_AdjustedWeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of dilutive potential 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 2021-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2021-en-r&anchor=para_70_b&doctype=Standard -URIDate 2021-03-24 + 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 2021-01-01 -Paragraph 70 -Subparagraph b -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2021-en-r&anchor=para_70_b&doctype=Standard -URIDate 2021-03-24 + 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