XML 152 R95.htm IDEA: XBRL DOCUMENT
v3.20.1

Share-based compensation - Range of exercise prices in stock options (Details) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2019 shares $ / shares | Dec. 31, 2018 shares $ / shares | Dec. 31, 2017 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 8 months 12 days |  |
Number of stock options outstanding (in shares) | shares | 200,631 | 198,221 | 262,535
Weighted average exercise price (in usd per option) | $ 49.07 | $ 48.55 | $ 45.09
Number of stock options exercisable (in shares) | shares | 170,551 |  |
Weighted average exercise price, exercisable options (in usd per option) | $ 48.19 |  |
$25.97 to $35.51 |  |  |
Disclosure of number and weighted average remaining contractual life of outstanding share options [line items] |  |  |
Weighted average remaining contractual life (years) | 3 years 2 months 1 day |  |
Number of stock options outstanding (in shares) | shares | 53,767 |  |
Weighted average exercise price (in usd per option) | $ 34.59 |  |
Number of stock options exercisable (in shares) | shares | 53,767 |  |
Weighted average exercise price, exercisable options (in usd per option) | $ 34.59 |  |
$25.97 to $35.51 | Minimum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (usd per share) | 25.97 |  |
$25.97 to $35.51 | Maximum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (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) | 1 year 11 months 16 days |  |
Number of stock options outstanding (in shares) | shares | 56,554 |  |
Weighted average exercise price (in usd per option) | $ 43.56 |  |
Number of stock options exercisable (in shares) | shares | 47,751 |  |
Weighted average exercise price, exercisable options (in usd per option) | $ 42.35 |  |
$38.24 to $50.17 | Minimum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (usd per share) | 38.24 |  |
$38.24 to $50.17 | Maximum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (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 10 months 17 days |  |
Number of stock options outstanding (in shares) | shares | 90,310 |  |
Weighted average exercise price (in usd per option) | $ 61.14 |  |
Number of stock options exercisable (in shares) | shares | 69,033 |  |
Weighted average exercise price, exercisable options (in usd per option) | $ 62.82 |  |
$54.65 to $78.59 | Minimum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (usd per share) | 54.65 |  |
$54.65 to $78.59 | Maximum |  |  |
Disclosure of range of exercise prices of outstanding share options [line items] |  |  |
Exercise price of outstanding share options (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 domain 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 Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfRangeOfExercisePricesOfOutstandingShareOptionsLineItems
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 2019-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_d&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_d&doctype=Standard -URIDate 2019-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2019-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2019-03-27 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2019-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 45 -Subparagraph b -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 45 -Subparagraph b -Clause vii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_vii&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 45 -Subparagraph b -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_i&doctype=Standard -URIDate 2019-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 2 -IssueDate 2019-01-01 -Paragraph 45 -Subparagraph b -Clause vi -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_b_vi&doctype=Standard -URIDate 2019-03-27 + 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 2019-01-01 -Paragraph 45 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2019-en-r&anchor=para_45_d&doctype=Standard -URIDate 2019-03-27 + 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: |