XML 76 R54.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and contingencies (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
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, 2021
2022 | 2023 | 2024 | 2025 | 2026 | Thereafter
$ | 390,981 | $ | 413,882 |  | $ | 443,576 | $ | 443,428 | $ | 267,345 | $ | 1,303,370
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, 2021
2022 | 2023 | 2024 | 2025 | 2026 | Thereafter
$ | 69,422 | $ | 38,652 | $ | 9,464 | $ | 1,283 | $ | 539 | $ | 2,194

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: | nonnum: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 -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 303 -Paragraph (a) -Subparagraph (5) + Details
Name: | srt_ContractualObligationFiscalYearMaturityScheduleTableTextBlock
Namespace Prefix: | srt_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration