XML 116 R94.htm IDEA: XBRL DOCUMENT
v3.22.4

Share-based compensation - Changes in stock options (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022 shares $ / shares | Dec. 31, 2021 shares $ / shares
Share-Based Payment Arrangements [Abstract] |  |
Number of stock options outstanding, beginning of period (in shares) | shares | 145,621 | 173,251
Number of stock options granted (in shares) | shares | 5,300 | 6,880
Number of stock options exercised (in shares) | shares | (16,800) | (7,300)
Number of stock options expired (in shares) | shares | (31,590) | (27,210)
Number of stock options outstanding, end of period (in shares) | shares | 102,531 | 145,621
Weighted average exercise price of stock options outstanding, beginning of period (in usd per share) | $ / shares | $ 45.25 | $ 49.44
Weighted average exercise price of stock options granted (in usd per share) | $ / shares | 48.49 | 38.79
Weighted average exercise price (in usd per share) | $ / shares | 34.59 | 34.59
Weighted average exercise price of stock options expired (in usd per share) | $ / shares | 55.66 | 73.13
Weighted average exercise price of stock options outstanding, end of period (in usd per share) | $ / shares | $ 43.96 | $ 45.25

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 exercised 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 iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options expired 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 v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_v&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsExpiredInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of share options granted 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 ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options exercised 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 iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options expired 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 v -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_v&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExpiredInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options granted 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 ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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 Share-Based Payment Arrangements [Abstract] + References No definition available. + Details
Name: | mx_ShareBasedPaymentArrangementsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration