XML 107 R84.htm IDEA: XBRL DOCUMENT
v3.20.4

Net income (loss) per common share - Reconciliation of numerator used for calculation of diluted net income per common share (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Earnings per share [abstract] |  |
Numerator for basic net income (loss) per common share | $ (156,678) | $ 87,767
Adjustment for the effect of TSARs: |  |
Cash-settled recovery included in net income | 0 | (5,433)
Equity-settled expense | 0 | (4,807)
Numerator for diluted net income (loss) per common share | $ (156,678) | $ 77,527

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 profit (loss) attributable to ordinary equity holders of the parent entity. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2020-01-01 -Paragraph 70 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2020-en-r&anchor=para_70_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntity
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The profit (loss) attributable to ordinary equity holders of the parent entity, adjusted for the effects of all dilutive potential ordinary shares. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2020-01-01 -Paragraph 70 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=33&code=ifrs-tx-2020-en-r&anchor=para_70_a&doctype=Standard -URIDate 2020-01-01 + Details
Name: | ifrs-full_ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Dilutive Securities, Effect on Basic Earnings Per Share, Share-Based Compensation Arrangements + References No definition available. + Details
Name: | mx_DilutiveSecuritiesEffectonBasicEarningsPerShareShareBasedCompensationArrangementsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Dilutive Securities, Effect on Basic Earnings Per Share, Tandem Stock Appreciation Rights, Cash-Settled Recovery + References No definition available. + Details
Name: | mx_DilutiveSecuritiesEffectonBasicEarningsPerShareTandemStockAppreciationRightsCashSettledRecovery
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Dilutive Securities, Effect on Basic Earnings Per Share,Tandem Stock Appreciation Rights, Equity-Settled Expense + References No definition available. + Details
Name: | mx_DilutiveSecuritiesEffectonBasicEarningsPerShareTandemStockAppreciationRightsEquitySettledExpense
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration