XML 79 R68.htm IDEA: XBRL DOCUMENT
v3.23.1

Merger Agreement (Details) - USD ($) $ in Thousands |  | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | ---
Dec. 20, 2021 | Dec. 31, 2021 | Apr. 06, 2023 | Mar. 31, 2023 | Aug. 05, 2022 | Apr. 04, 2022
Business combination, description [Abstract] |  |  |  |  |  |
Merger termination fee |  | $ 70,200 |  |  |  |
Proceed from termination cost | $ 51,000 |  |  |  |  |
Secures deferred merger termination fee | $ 19,200 |  |  |  |  |
Subsequent Event [Member] |  |  |  |  |  |
Business combination, description [Abstract] |  |  |  |  |  |
Termination agreement amount received |  |  | $ 1,800 |  |  |
Termination Agreement [Member] |  |  |  |  |  |
Business combination, description [Abstract] |  |  |  |  |  |
Termination agreement amount received |  |  |  |  | $ 3,000 | $ 14,400
Termination agreement outstanding amount |  |  |  |  | $ 1,800 | $ 4,800
Letter Agreement [Member] | Due on or Before March 31, 2023 [Member] |  |  |  |  |  |
Business combination, description [Abstract] |  |  |  |  |  |
Letter agreement outstanding amount |  |  |  | $ 1,800 |  |
Other Receivable [Member] |  |  |  |  |  |
Business combination, description [Abstract] |  |  |  |  |  |
Secures deferred merger termination fee |  | $ 19,200 |  |  |  |
Other Receivable [Member] | Letter Agreement [Member] |  |  |  |  |  |
Business combination, description [Abstract] |  |  |  |  |  |
Secures deferred merger termination fee |  |  |  | $ 1,800 |  |

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: | debit
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
- References No definition available. + Details
Name: | us-gaap_BusinessCombinationDescriptionAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mx_LetterAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mx_DueDateAxis=mx_DueOnOrBeforeMarch312023Member
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: |