XML 109 R86.htm IDEA: XBRL DOCUMENT
v3.24.0.1

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, 2023 | Dec. 31, 2022
Earnings per share [abstract] |  |
Numerator for basic net income per common share | $ 174,140 | $ 353,830
Adjustment for the effect of TSARs: |  |
Cash-settled recovery included in net income | 0 | (316)
Equity-settled expense | 0 | (5,503)
Numerator for diluted net income per common share | $ 174,140 | $ 348,011

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