XML 117 R95.htm IDEA: XBRL DOCUMENT
v3.22.4

Share-based compensation - Range of exercise prices in stock options (Details) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2022 shares $ / shares | Dec. 31, 2021 shares $ / shares | Dec. 31, 2020 shares $ / shares
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 2 years 3 months |  |
Number of stock options outstanding (in shares) | shares | 102,531 | 145,621 | 173,251
Weighted average exercise price (in usd per share) | $ 43.96 | $ 45.25 | $ 49.44
Number of stock options exercisable (in shares) | shares | 87,497 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 44.82 |  |
$29.27 to $35.51 |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 1 year 9 months |  |
Number of stock options outstanding (in shares) | shares | 39,207 |  |
Weighted average exercise price (in usd per share) | $ 32.49 |  |
Number of stock options exercisable (in shares) | shares | 34,059 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 32.98 |  |
$29.27 to $35.51 | Bottom of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | 29.27 |  |
$29.27 to $35.51 | Top of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | $ 35.51 |  |
$38.79 to $50.17 |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 2 years 7 months 28 days |  |
Number of stock options outstanding (in shares) | shares | 36,214 |  |
Weighted average exercise price (in usd per share) | $ 47.76 |  |
Number of stock options exercisable (in shares) | shares | 26,328 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 49.18 |  |
$38.79 to $50.17 | Bottom of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | 38.79 |  |
$38.79 to $50.17 | Top of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | $ 50.17 |  |
$54.65 to $78.59 |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 2 years 5 months 8 days |  |
Number of stock options outstanding (in shares) | shares | 27,110 |  |
Weighted average exercise price (in usd per share) | $ 55.46 |  |
Number of stock options exercisable (in shares) | shares | 27,110 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 55.46 |  |
$54.65 to $78.59 | Bottom of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | 54.65 |  |
$54.65 to $78.59 | Top of range |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (in usd per share) | $ 78.59 |  |

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_DisclosureOfNumberAndWeightedAverageRemainingContractualLifeOfOutstandingShareOptionsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The exercise price of outstanding share options. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ExercisePriceOfOutstandingShareOptions2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options outstanding in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_d&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfOutstandingShareOptions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of share options exercisable in a share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisableInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | instant

X
- Definition The weighted average exercise price of share options exercisable in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause vii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisableInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The weighted average exercise price of share options outstanding in a share-based payment arrangement. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph b -Clause vi -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The weighted average remaining contractual life of outstanding share options. [Refer: Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2022-03-24 -Paragraph 45 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageRemainingContractualLifeOfOutstandingShareOptions2019
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_RangesOfExercisePricesForOutstandingShareOptionsAxis=mx_ExercisePriceRangeOneMember
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_RangesOfExercisePricesForOutstandingShareOptionsAxis=mx_ExercisePriceRangeTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangesOfExercisePricesForOutstandingShareOptionsAxis=mx_ExercisePriceRangeThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |