XML 93 R70.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Property, plant and equipment - Right of use assets (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | $ 757,293 |
Right-of-use assets, ending balance | 695,826 | $ 757,293
Cost |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 1,301,783 | 1,201,714
Additions | 90,805 | 142,193
Disposals and other | 32,508 | 42,124
Right-of-use assets, ending balance | 1,360,080 | 1,301,783
Accumulated depreciation |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | (544,490) | (445,236)
Disposals and other | (32,301) | (31,509)
Depreciation | 152,065 | 130,763
Right-of-use assets, ending balance | (664,254) | (544,490)
Ocean vessels |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 596,397 |
Right-of-use assets, ending balance | 528,762 | 596,397
Ocean vessels | Cost |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 910,721 | 846,977
Additions | 40,055 | 83,333
Disposals and other | 15,607 | 19,589
Right-of-use assets, ending balance | 935,169 | 910,721
Ocean vessels | Accumulated depreciation |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | (314,324) | (245,873)
Disposals and other | (15,607) | (19,589)
Depreciation | 107,690 | 88,040
Right-of-use assets, ending balance | (406,407) | (314,324)
Terminals and tanks |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 136,138 |
Right-of-use assets, ending balance | 143,978 | 136,138
Terminals and tanks | Cost |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 332,441 | 286,036
Additions | 46,029 | 52,909
Disposals and other | 11,921 | 6,504
Right-of-use assets, ending balance | 366,549 | 332,441
Terminals and tanks | Accumulated depreciation |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | (196,303) | (160,163)
Disposals and other | (11,743) | 0
Depreciation | 38,011 | 36,140
Right-of-use assets, ending balance | (222,571) | (196,303)
Other |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 24,758 |
Right-of-use assets, ending balance | 23,086 | 24,758
Other | Cost |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | 58,621 | 68,701
Additions | 4,721 | 5,951
Disposals and other | 4,980 | 16,031
Right-of-use assets, ending balance | 58,362 | 58,621
Other | Accumulated depreciation |  |
Disclosure of quantitative information about right-of-use assets [line items] |  |
Right-of-use assets, beginning balance | (33,863) | (39,200)
Disposals and other | (4,951) | (11,920)
Depreciation | 6,364 | 6,583
Right-of-use assets, ending balance | $ (35,276) | $ (33,863)

X
- Definition The amount of additions to right-of-use assets. [Refer: Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2024-01-01 -Paragraph 53 -Subparagraph h -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_53_h&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_AdditionsToRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2024-01-01 -Paragraph 53 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_53_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DepreciationRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
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 members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The decrease in right-of-use assets resulting from disposals. [Refer: Right-of-use assets] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 16 -IssueDate 2024-01-01 -Paragraph 73 -Subparagraph e -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2024-en-r&anchor=para_73_e&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DisposalsRightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of assets that represent a lessee's right to use an underlying asset for the lease term that do not meet the definition of investment property. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2024-01-01 -Paragraph 53 -Subparagraph j -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_53_j&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2024-01-01 -Paragraph 47 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2024-en-r&anchor=para_47_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RightofuseAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_GrossCarryingAmountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_AccumulatedDepreciationAndAmortisationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_ShipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=mx_TerminalsAndTanksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfAssetsAxis=ifrs-full_OtherPropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |