XML 114 R92.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Share-based compensation - Changes in stock options (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 shares $ / shares | Dec. 31, 2020 shares $ / shares
Share-Based Payment Arrangements [Abstract] |  |
Number of stock options outstanding, beginning of period (in shares) | shares | 173,251 | 200,631
Number of stock options granted (in shares) | shares | 6,880 | 15,440
Number of stock options exercised (in shares) | shares | (7,300) | (5,900)
Number of stock options cancelled (in shares) | shares |  | (5,600)
Number of stock options expired (in shares) | shares | (27,210) | (31,320)
Number of stock options outstanding, end of period (in shares) | shares | 145,621 | 173,251
Weighted average exercise price of stock options outstanding, beginning of period (in usd per share) | $ / shares | $ 49.44 | $ 49.07
Weighted average exercise price of stock options granted (in usd per share) | $ / shares | 38.79 | 29.27
Weighted average exercise price (in usd per share) | $ / shares | 34.59 | 34.59
Weighted average exercise price of stock options cancelled (in usd per share) | $ / shares |  | 58.96
Weighted average exercise price of stock options expired (in usd per share) | $ / shares | 73.13 | 38.24
Weighted average exercise price of stock options outstanding, end of period (in usd per share) | $ / shares | $ 45.25 | $ 49.44

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 exercised 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 iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_v&doctype=Standard -URIDate 2021-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 forfeited 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 iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NumberOfShareOptionsForfeitedInSharebasedPaymentArrangement
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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2021-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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iv&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExercisedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause v -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_v&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsExpiredInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average exercise price of share options forfeited 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 iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_iii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsForfeitedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 2021-01-01 -Paragraph 45 -Subparagraph b -Clause ii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2021-en-r&anchor=para_45_b_ii&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_WeightedAverageExercisePriceOfShareOptionsGrantedInSharebasedPaymentArrangement2019
Namespace Prefix: | ifrs-full_
Data Type: | num: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 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 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