XML 120 R98.htm IDEA: XBRL DOCUMENT
v3.22.4

Segmented information - Property, plant and equipment, net (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | $ 4,155,283 | $ 3,686,149
United States |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 2,211,333 | 1,840,893
Egypt |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 564,454 | 576,721
New Zealand |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 211,544 | 208,340
Trinidad |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 70,432 | 95,082
Canada |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 165,783 | 174,905
Chile |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 102,467 | 102,766
Waterfront Shipping |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | 792,016 | 645,707
Other |  |
Disclosure of geographical areas [line items] |  |
Property, plant and equipment | $ 37,254 | $ 41,735

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

X
- Definition Property, Plant, Equipment and Right Of Assets, Total + References No definition available. + Details
Name: | mx_PropertyPlantEquipmentandRightOfAssetsTotal
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_EG
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_NZ
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_TT
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_CL
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=mx_WaterfrontShippingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=mx_OtherCountriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |