XML 81 R70.htm IDEA: XBRL DOCUMENT
v3.22.2

Merger Agreement - Additional Information (Details) - USD ($) $ in Thousands |  | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Dec. 20, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021 | Oct. 31, 2022 | Aug. 05, 2022 | Apr. 04, 2022
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Merger Related Costs Income Net |  | $ 0 | $ 2,459 | $ 0 | $ 12,290 |  |  |  |
Merger Termination Fee |  |  |  |  |  | $ 70,200 |  |  |
Proceed from termination cost | $ 51,000 |  |  |  |  |  |  |  |
Secures Deferred Merger Termination Fee | $ 19,200 |  |  |  |  |  |  |  |
Termination Agreement [Member] |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Termination agreement outstanding amount |  |  |  |  |  |  |  |  | $ 4,800
Termination agreement amount Paid |  |  |  |  |  |  |  |  | $ 14,400
Termination Agreement [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Termination agreement outstanding amount |  |  |  |  |  |  | $ 1,800 |  |
Termination agreement amount Paid |  |  |  |  |  |  |  | $ 3,000 |
Other Receivable [Member] |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |
Deferred Merger Termination Fee As Other Receivable |  |  |  |  |  | $ 19,200 |  |  |
Letter agreement outstanding amount |  | $ 4,800 |  | $ 4,800 |  |  |  |  |

X
- Definition Deferred merger termination fee as other receivable. + References No definition available. + Details
Name: | mx_DeferredMergerTerminationFeeAsOtherReceivable
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Letter agreement outstanding amount. + References No definition available. + Details
Name: | mx_LetterAgreementOutstandingAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Merger termination fee. + References No definition available. + Details
Name: | mx_MergerTerminationFee
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceed from merger termination. + References No definition available. + Details
Name: | mx_ProceedFromMergerTermination
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Receipt of termination agreement amount. + References No definition available. + Details
Name: | mx_ReceiptOfTerminationAgreementAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Secures deferred merger termination fee. + References No definition available. + Details
Name: | mx_SecuresDeferredMergerTerminationFee
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Termination agreement outstanding amount. + References No definition available. + Details
Name: | mx_TerminationAgreementOutstandingAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -URI https://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | mx_AgreementAxis=mx_TerminationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=mx_OtherReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |