XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Leases (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2023
Leases [Abstract] |
Supplemental Balance Sheet Information | Supplemental balance sheets information related to leases as of March 31, 2023 and December 31, 2022 are as follows (in thousands):
Leases | Classification |  | March 31, 2023 |  |  | December 31, 2022 |
Assets |  |  |  |  |  |  |
Operating lease | Operating lease right-of-use assets |  | $ | 5,413 |  |  | $ | 5,265 |
Finance lease | Property, plant and equipment, net |  |  | 436 |  |  |  | 143 |
Total lease assets |  |  | $ | 5,849 |  |  | $ | 5,408 |
Liabilities |  |  |  |  |  |  |  |  |
Current |  |  |  |  |  |  |  |  |
Operating | Operating lease liabilities |  | $ | 1,622 |  |  | $ | 1,397 |
Finance | Other current liabilities |  |  | 90 |  |  |  | 90 |
Non-current |  |  |  |  |  |  |  |  |
Operating | Non-current operating lease liabilities |  |  | 3,996 |  |  |  | 4,091 |
Finance | Other non-current liabilities |  |  | 364 |  |  |  | 63 |
Total lease liabilities |  |  | $ | 6,072 |  |  | $ | 5,641 |
Lease, Cost | The following table presents the weighted average remaining lease term and discount rate:
|  | March 31, 2023 |  |  | December 31, 2022 |
Weighted average remaining lease term |  |  |  |  |  |
Operating leases |  | 3.4 years |  |  | 3.7 years |
Finance leases |  | 4.1 years |  |  | 2.4 years |
Weighted average discount rate |  |  |  |  |  |
Operating leases |  |  | 6.6 | % |  |  | 6.6 | %
Finance leases |  |  | 7.7 | % |  |  | 7.6 | %
Other Lease Information | The components of lease cost included in the Company’s consolidated statements of operations, are as follows (in thousands):
|  | Three Months Ended |
|  | March 31, 2023 |  |  | March 31, 2022 |
Operating lease cost |  | $ | 555 |  |  | $ | 569 |
Finance lease cost |  |  |  |  |  |  |  |
Amortization of right-of-use assets |  |  | 32 |  |  |  | 16 |
Interest on lease liabilities |  |  | 7 |  |  |  | 2 |
Total lease cost |  | $ | 594 |  |  | $ | 587 |
The above table does not include an immaterial cost of short-term leases for the three months ended March 31, 2023 and 2022. Other lease information is as follows (in thousands):
|  | Three Months Ended |
|  | March 31, 2023 |  |  | March 31, 2022 |
Cash paid for amounts included in the measurement of lease liabilities |  |  |  |  |  |
Operating cash flows from operating leases |  | $ | 567 |  |  | $ | 569 |
Operating cash flows from finance leases |  |  | 7 |  |  |  | 2 |
Financing cash flows from finance leases |  |  | 24 |  |  |  | 16 |
Schedule of Future Lease Payments | The aggregate future lease payments for operating and finance leases as of March 31, 2023 are as follows (in thousands):
|  | Operating Leases |  |  | Finance Leases |
Remainder of 2023 |  | $ | 1,448 |  |  | $ | 91 |
2024 |  |  | 1,925 |  |  |  | 122 |
2025 |  |  | 1,419 |  |  |  | 121 |
2026 |  |  | 937 |  |  |  | 108 |
2027 |  |  | 644 |  |  |  | 95 |
Total future lease payments |  |  | 6,373 |  |  |  | 537 |
Less: Imputed interest |  |  | (755 | ) |  |  | (83 | )
Present value of future payments |  | $ | 5,618 |  |  | $ | 454 |

X
- References No definition available. + Details
Name: | mx_OtherLeaseInformationTableTextBlock
Namespace Prefix: | mx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | mx_ScheduleOfFutureLeasePaymentsTableTextBlock
Namespace Prefix: | mx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | mx_SupplementalBalanceSheetInformationRelatedToLeasesTableTextBlock
Namespace Prefix: | mx_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration