XML 20 R7.htm IDEA: XBRL DOCUMENT
v3.19.2

Details - USD ($) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2019 | Jun. 30, 2018
Statement of Cash Flows [Abstract] |  |
Fair value of warrants received, including change in value | $ 0 | $ 6,130

X
- References No definition available. + Details
Name: | mgnx_FairValueOfWarrantsReceived
Namespace Prefix: | mgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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