XML 79 R57.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Significant accounting policies - Property plant and equipment (Details) - Buildings, plant installations and machinery | 12 Months Ended
--- | ---
Dec. 31, 2021
Bottom of range |
Disclosure of detailed information about property, plant and equipment [line items] |
Estimated useful lives | 10 years
Top of range |
Disclosure of detailed information about property, plant and equipment [line items] |
Estimated useful lives | 25 years

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

X
- Definition Useful lives or depreciation rates, property, plant and equipment, period + References No definition available. + Details
Name: | mx_UsefulLivesOrDepreciationRatesPropertyPlantandEquipmentPeriod
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis=mx_BuildingsPlantInstallationsAndMachineryMember
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: |