XML 77 R54.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Collaboration and Other Agreements, Green Cross (Details) - USD ($) | 1 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2010 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Collaboration and Other Agreements [Line Items] |  |  |  |  |
Deferred revenue included in current liabilities |  | $ 7,202,000 | $ 4,261,000 |  |
Deferred revenue included in long-term liabilities |  | 13,637,000 | 10,045,000 |  |
Green Cross |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |
Non-refundable upfront payment | $ 1,000,000 |  |  |  |
Adjustment to revenue from contract material modification |  |  |  |  | $ 1,300,000
Proceeds from research and development services |  | 5,500,000 |  |  |
Recognized revenue under agreement |  | 900,000 | 800,000 | $ 500,000 |
Milestone achieved |  | 0 | 0 | $ 0 |
Deferred revenue |  | 2,300,000 | 3,200,000 |  |
Deferred revenue included in current liabilities |  | 900,000 | 900,000 |  |
Deferred revenue included in long-term liabilities |  | $ 1,400,000 | $ 2,300,000 |  |
Green Cross | Maximum |  |  |  |  |
Collaboration and Other Agreements [Line Items] |  |  |  |  |
Aggregate potential future cost reimbursement | 5,500,000.0 |  |  |  |
Clinical and commercial milestone payments | $ 2,500,000.0 |  |  |  |

X
- Definition Aggregate potential clinical and commercial milestone payments available to be earned under collaboration agreement. + References No definition available. + Details
Name: | mgnx_AdditionalPotentialClinicalAndCommercialMilestonePaymentsUnderAgreement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the adjustment to revenue under the accounting standards codification. + References No definition available. + Details
Name: | mgnx_AdjustmentToRevenueUnderAccountingStandardsCodification
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate potential future cost reimbursement from collaborator + References No definition available. + Details
Name: | mgnx_AggregatePotentialFutureCostReimbursement
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Initial fee received from collaboration or license agreement. + References No definition available. + Details
Name: | mgnx_NonRefundableUpfrontFees
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proceeds From Research And Development Services + References No definition available. + Details
Name: | mgnx_ProceedsFromResearchAndDevelopmentServices
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred revenue as of balance sheet date. Deferred revenue represents collections of cash or other assets related to a revenue producing activity for which revenue has not yet been recognized. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying amount of consideration received or receivable as of the balance sheet date on potential earnings that were not recognized as revenue in conformity with GAAP, and which are expected to be recognized as such within one year or the normal operating cycle, if longer, including sales, license fees, and royalties, but excluding interest income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q1(c)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6935-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q2) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(c).Q3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The noncurrent portion of deferred revenue amount as of balance sheet date. Deferred revenue is a liability related to a revenue producing activity for which revenue has not yet been recognized, and is not expected to be recognized in the next twelve months. Generally, an entity records deferred revenue when it receives consideration from a customer before achieving certain criteria that must be met for revenue to be recognized in conformity with GAAP. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6935-107765 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(c).Q3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.4(a).Q1) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q1(c)) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 13.A.3(b).Q2) -URI http://asc.fasb.org/extlink&oid=65893310&loc=d3e214044-122780 + Details
Name: | us-gaap_DeferredRevenueNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Revenue earned during the period relating to consideration received from another party for the right to use, but not own, certain of the entity's intangible assets. Licensing arrangements include, but are not limited to, rights to use a patent, copyright, technology, manufacturing process, software or trademark. Licensing fees are generally, but not always, fixed as to amount and not dependent upon the revenue generated by the licensing party. An entity may receive licensing fees for licenses that also generate royalty payments to the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_LicensesRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of consideration recognized during the period for the milestone or milestones. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 605 -SubTopic 28 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=68058744&loc=SL6892177-166501 + Details
Name: | us-gaap_RevenueRecognitionMilestoneMethodRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_CounterpartyNameAxis=mgnx_GreenCrossCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |