XML 108 R85.htm IDEA: XBRL DOCUMENT
v3.20.4

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, 2020 | Dec. 31, 2019
Earnings per share [abstract] |  |
Denominator for basic net income (loss) per common share (in shares) | 76,196,395 | 76,592,413
Effect of dilutive stock options (in shares) | 0 | 17,325
Effect of dilutive TSARS (in shares) | 0 | 82,756
Denominator for diluted net income (loss) per common share (in shares) | 76,196,395 | 76,692,494

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