XML 74 R53.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Commitments and Contingencies (Details) $ in Thousands |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 21, 2017 USD ($) | Jul. 31, 2015 USD ($) | Dec. 31, 2018 USD ($) Lease | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($)
Commitments and Contingencies Disclosure [Abstract] |  |  |  |  |
Number of leases | Lease |  |  | 5 |  |
Future sublease payments to be received |  |  | $ 1,100 |  |
Lease incentives | $ (7,500) | $ (5,100) |  |  |
Deferred rent liability |  |  | 11,300 | $ 12,300 |
Rent expense |  |  | 4,400 | $ 3,100 | $ 3,000
Future minimum rental payments required under all non-cancelable operating leases [Abstract] |  |  |  |  |
2019 |  |  | 6,323 |  |
2020 |  |  | 4,757 |  |
2021 |  |  | 4,724 |  |
2022 |  |  | 4,865 |  |
2023 |  |  | 4,680 |  |
Thereafter |  |  | 13,786 |  |
Total |  |  | $ 39,135 |  |

X
- Definition Represents the number of lease during the period. + References No definition available. + Details
Name: | mgnx_NumberOfLease
Namespace Prefix: | mgnx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The cumulative difference between the rental payments required by a lease agreement and the rental income or expense recognized on a straight-line basis, or other systematic and rational basis more representative of the time pattern in which use or benefit is granted or derived from the leased property, expected to be recognized in income or expense over the term of the leased property by the lessor or lessee, respectively. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902458&loc=d3e39896-112707 + Details
Name: | us-gaap_DeferredRentCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractually required future rental payments receivable on noncancelable subleasing arrangements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41502-112717 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=82846649&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=77902758&loc=d3e41499-112717 + Details
Name: | us-gaap_OperatingLeasesRentExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net cash outflow or inflow from monetary allowance granted by the landlord to a tenant to entice tenant to move into landlords building which will enable the tenant to prepare the leased premises for tenants occupancy. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3213-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3179-108585 + Details
Name: | us-gaap_PaymentsForProceedsFromTenantAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration