XML 79 R56.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Commitments and contingencies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Commitments And Contingencies [Abstract] |
Schedule of minimum estimated commitment under purchase contracts | The minimum estimated commitment under these contracts, except as noted below, is as follows: As at December 31, 2024
2025 | 2026 | 2027 | 2028 | 2029 | Thereafter
$ | 517,656 | $ | 399,889 |  | $ | 328,238 | $ | 283,234 | $ | 267,708 | $ | 766,477
Schedule of contractual obligations | The Company has future minimum payments relating primarily to short-term vessel charters, terminal facilities, and other commitments that are not leases, as follows: As at December 31, 2024
2025 | 2026 | 2027 | 2028 | 2029 | Thereafter
$ | 85,870 | $ | 21,460 | $ | 17,515 | $ | 16,661 | $ | 16,661 | $ | 2,393

X
- Definition Commitments And Contingencies + References No definition available. + Details
Name: | mx_CommitmentsAndContingenciesAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent Liabilities With Associates [Table Text Block] + References No definition available. + Details
Name: | mx_ContingentLiabilitiesWithAssociatesTableTextBlock
Namespace Prefix: | mx_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of contractual obligation by timing of payment due. Includes, but is not limited to, long-term debt obligation, lease obligation, and purchase obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Regulation S-X (SX) -Number 210 -Section 12 -Subsection 04 -Subparagraph (a) -Publisher SEC + Details
Name: | srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock
Namespace Prefix: | srt_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration