XML 88 R60.htm IDEA: XBRL DOCUMENT v2.4.1.9
Employee Benefit Plan - Additional Information (Detail) (USD $)
0 Months Ended 12 Months Ended
Sep. 25, 2002
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Defined Contribution Pension and Other Postretirement Plans Disclosure [Abstract]        
Eligibility of employee participation Plan 21 years      
Percentage of employee contribution to salary 100.00%us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent      
Percentage of employee vested contribution   100.00%mgnx_DefinedContributionPlanEmployeesContributionAnnualVestingPercentage    
Defined contribution plan, employer discretionary contribution amount   $ 318,390us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount $ 252,930us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount $ 225,195us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount