XML 98 R76.htm IDEA: XBRL DOCUMENT
v3.22.4

Lease obligations - Lease activity (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Disclosure of leases [Abstract] |  |
Opening lease obligations, beginning balance | $ 717,101 | $ 722,234
Additions, net of disposals | 262,470 | 97,673
Interest expense | 48,039 | 45,394
Lease payments | (153,901) | (146,448)
Effect of movements in exchange rates and other | (3,546) | (1,752)
Lease obligations, ending balance | 870,163 | 717,101
Less: current portion | (108,736) | (98,301)
Lease obligations - non current portion | $ 761,427 | $ 618,800

X
- Definition The amount of current lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_CurrentLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of interest expense on lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 53 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_InterestExpenseOnLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current lease liabilities. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2022-03-24 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_NoncurrentLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Disclosure of leases [Abstract] + References No definition available. + Details
Name: | mx_DisclosureofleasesAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effect of Exchange Rate Changes And Other + References No definition available. + Details
Name: | mx_EffectofExchangeRateChangesAndOther
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Finance Lease, Payments + References No definition available. + Details
Name: | mx_FinanceLeasePayments
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Lease Liabilities, Additions, Net of Disposals + References No definition available. + Details
Name: | mx_LeaseLiabilitiesAdditionsNetofDisposals
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration