XML 81 R53.htm IDEA: XBRL DOCUMENT
v3.22.4

Income Taxes - Additional Information (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Income Tax Examination [Line Items] |  |  |
Provision for federal or state income taxes | $ 0 |  |
Remaining portion of net operating losses | 763,000,000 |  |
Gross unrecognized tax benefits | 7,400,000 | $ 7,200,000 |
Unrecognized interest or penalties | 0 | $ 0 | $ 0
U.S. Federal and State |  |  |
Income Tax Examination [Line Items] |  |  |
Net operating loss carryforwards | 777,000,000 |  |
U.S. Federal and State | Tax Year 2025 To 2037 |  |  |
Income Tax Examination [Line Items] |  |  |
Net operating loss carryforwards | 172,000,000 |  |
U.S. Federal and State | Indefinite |  |  |
Income Tax Examination [Line Items] |  |  |
Net operating loss carryforwards | 605,000,000 |  |
U.S. Federal Government |  |  |
Income Tax Examination [Line Items] |  |  |
US Federal tax credits carry forward | 94,000,000 |  |
Net operating loss for limited use | 13,500,000 |  |
U.S. Federal Government | Minimum |  |  |
Income Tax Examination [Line Items] |  |  |
Net operating losses limited for use utilized on an annual basis | 200,000 |  |
U.S. Federal Government | Maximum |  |  |
Income Tax Examination [Line Items] |  |  |
Net operating losses limited for use utilized on an annual basis | $ 1,400,000 |  |

X
- Definition Amount of net operating loss which are limited for use, utilized on a annual basis. + References No definition available. + Details
Name: | mgnx_OperatingLossCarryforwardsAnnualLimitationAmount
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of net operating loss carryforward, which are limited for use over the range of years. + References No definition available. + Details
Name: | mgnx_OperatingLossCarryforwardsLimitationsOnUseAmount
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Operating loss carryforwards not subject to limitation. + References No definition available. + Details
Name: | mgnx_OperatingLossCarryforwardsNotSubjectToLimitation
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.7) -URI https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(1)(Note 1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.2) -URI https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817 + Details
Name: | us-gaap_CurrentIncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | us-gaap_
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_IncomeTaxExaminationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the tax credit carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319 + Details
Name: | us-gaap_TaxCreditCarryforwardAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expense for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=mgnx_DomesticTaxAuthorityandStateandLocalJurisdictionMemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=mgnx_TaxYear2025To2037Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=mgnx_IndefiniteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |