XML 115 R93.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Share-based compensation - Range of exercise prices in stock options (Details) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 shares $ / shares | Dec. 31, 2020 shares $ / shares | Dec. 31, 2019 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 2 months 12 days |  |
Number of stock options outstanding (in shares) | shares | 145,621 | 173,251 | 200,631
Weighted average exercise price (in usd per share) | $ 45.25 | $ 49.44 | $ 49.07
Number of stock options exercisable (in shares) | shares | 125,977 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 46.67 |  |
$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) | 2 years 3 months 7 days |  |
Number of stock options outstanding (in shares) | shares | 56,007 |  |
Weighted average exercise price (in usd per share) | $ 33.12 |  |
Number of stock options exercisable (in shares) | shares | 45,713 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 33.99 |  |
$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.24 to $50.17 |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 3 years 21 days |  |
Number of stock options outstanding (in shares) | shares | 30,914 |  |
Weighted average exercise price (in usd per share) | $ 47.64 |  |
Number of stock options exercisable (in shares) | shares | 24,034 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 50.17 |  |
$38.24 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.24 |  |
$38.24 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) | 1 year 8 months 4 days |  |
Number of stock options outstanding (in shares) | shares | 58,700 |  |
Weighted average exercise price (in usd per share) | $ 55.57 |  |
Number of stock options exercisable (in shares) | shares | 56,230 |  |
Weighted average exercise price, exercisable options (in usd per share) | $ 55.48 |  |
$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 2021-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_d&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ExercisePriceOfOutstandingShareOptions2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_d&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2021-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2021-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisableInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2021-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsOutstandingInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_d&doctype=Standard -URIDate 2021-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: |