XML 112 R89.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Share-based compensation - Narrative (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) performanceFactor shares | Dec. 31, 2022 USD ($)
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Number of shares reserved for future grants of stock options and share appreciation rights (in shares) | shares | 4,010,076 |
Liabilities from share-based payment transactions | $ 74,107 | $ 70,569
SARs and TSARs |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Vesting period | 7 years |
Vesting rate | 33.33% |
Fair value of share-based payment transactions | $ 26,700 |
Liabilities from share-based payment transactions | 25,000 |
Intrinsic value of liabilities from share-based payment transactions | $ 1,700 |
Weighted average remaining vesting period | 1 year 4 months 24 days |
Expense from share-based payment transactions with employees | $ 10,500 | 1,800
Expense (recovery) from share-based payment transactions with employees, effect of change in share price | $ 6,600 | (3,700)
Performance Share Units (PSU) New Plan |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Vesting period | 3 years |
Number of performance factors | performanceFactor | 2 |
Performance Share Units (PSU) New Plan | Bottom of range |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Share-based compensation arrangement vesting rights, percentage | 0.00% |
Performance Share Units (PSU) New Plan | Top of range |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Share-based compensation arrangement vesting rights, percentage | 200.00% |
Deferred, Restricted and Performance Share Units |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Fair value of share-based payment transactions | $ 58,600 |
Liabilities from share-based payment transactions | 48,900 |
Intrinsic value of liabilities from share-based payment transactions | $ 9,700 |
Weighted average remaining vesting period | 1 year 8 months 12 days |
Expense from share-based payment transactions with employees | $ 23,900 | 13,500
Expense (recovery) from share-based payment transactions with employees, effect of change in share price | $ 8,800 | $ (3,400)
Performance shares |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Vesting period | 3 years |
Number of performance factors | performanceFactor | 2 |
Return on capital employed average period | 3 years |
Performance shares | Bottom of range |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Share-based compensation arrangement vesting rights, percentage | 0.00% |
Performance shares | Top of range |  |
Disclosure of terms and conditions of share-based payment arrangement [line items] |  |
Share-based compensation arrangement vesting rights, percentage | 200.00% |

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of expense from share-based payment transactions with employees. [Refer: Expense from share-based payment transactions] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The intrinsic value of liabilities arising from share-based transactions for which the counterparty's right to cash or other assets had vested by the end of the period (for example, vested share appreciation rights). The intrinsic value is the difference between the fair value of the shares to which the counterparty has the (conditional or unconditional) right to subscribe, or which it has the right to receive, and the price (if any) that the counterparty is (or will be) required to pay for those shares. Share-based payment transactions are transactions in which the entity: (a) receives goods or services from the supplier of those goods or services (including an employee) in a share-based payment arrangement; or (b) incurs an obligation to settle the transaction with the supplier in a share-based payment arrangement when another group entity receives those goods or services, for which the counterparty's right to cash or other assets had vested by the end of the period (for example, vested share appreciation rights). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 51 -Subparagraph b -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_51_b_ii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_IntrinsicValueOfLiabilitiesFromSharebasedPaymentTransactionsForWhichCounterpartysRightToCashOrOtherAssetsVested2011
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities arising from share-based payment transactions. Share-based payment transactions are transactions in which the entity: (a) receives goods or services from the supplier of those goods or services (including an employee) in a share-based payment arrangement; or (b) incurs an obligation to settle the transaction with the supplier in a share-based payment arrangement when another group entity receives those goods or services. [Refer: Share-based payment arrangements [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2023-01-01 -Paragraph 51 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_51_b_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LiabilitiesFromSharebasedPaymentTransactions2011
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of shares reserved for issue under options and contracts for the sale of shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 79 -Subparagraph a -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_vii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Employee Service Share-Based Compensation, Nonvested Awards, Total Compensation Cost Not Yet Recognized, Period For Recognition2 + References No definition available. + Details
Name: | mx_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition2
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expense (Recovery) From Share-Based Payment Transactions With Employees, Effect Of Change In Share Price + References No definition available. + Details
Name: | mx_ExpenseRecoveryFromShareBasedPaymentTransactionsWithEmployeesEffectOfChangeInSharePrice
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair Value Of Shares From Share-Based Payment Transactions + References No definition available. + Details
Name: | mx_FairValueOfSharesFromShareBasedPaymentTransactions
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Number of Performance Factors + References No definition available. + Details
Name: | mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors
Namespace Prefix: | mx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Return on Capital Employed Average Period + References No definition available. + Details
Name: | mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage1 + References No definition available. + Details
Name: | mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1
Namespace Prefix: | mx_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Vesting Rate + References No definition available. + Details
Name: | mx_VestingRate
Namespace Prefix: | mx_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Vesting Requirements For Share-Based Payment Arrangement, Vesting Period + References No definition available. + Details
Name: | mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=mx_PerformanceShareUnitsPSUNewPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=mx_DeferredShareUnitsDSURestrictedShareUnitsRSUAndPerformanceShareUnitsPSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfSharebasedPaymentArrangementsAxis=mx_PerformanceShares1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |