XML 108 R86.htm IDEA: XBRL DOCUMENT
v3.22.4

Net income 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, 2022 | Dec. 31, 2021
Earnings per share [abstract] |  |
Numerator for basic net income per common share | $ 353,830 | $ 482,358
Adjustment for the effect of TSARs: |  |
Cash-settled recovery included in net income | (316) | (9,168)
Equity-settled expense | (5,503) | (5,742)
Numerator for diluted net income per common share | $ 348,011 | $ 467,448

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