XML 172 R69.htm IDEA: XBRL DOCUMENT v2.4.1.9
Retirement Plan - Additional Information (Detail) (USD $)
In Millions, unless otherwise specified
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Compensation and Retirement Disclosure [Abstract]      
Maximum defined contribution plan employees contributions, percentage 100.00%us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent    
Percentage of participant contributions considered for first condition of plan 100.00%mdvn_DefinedContributionPlanEmployerMatchingContributionPercentOfMatchForFirstConditionOfPlan    
Description of percentage of employees eligible earnings subject to match The Company matches 100% of the first 3% of employee contributions and 50% of the next 2% of employee contributions.    
Percentage of participant salary under first condition of plan 3.00%mdvn_DefinedContributionPlanEmployerMatchingContributionPercentUnderFirstConditionOfPlan    
Percentage of participant contributions considered for second condition of plan 50.00%mdvn_DefinedContributionPlanEmployerMatchingContributionPercentOfMatchForSecondConditionOfPlan    
Percentage of participant salary under second condition of plan 2.00%mdvn_DefinedContributionPlanEmployerMatchingContributionPercentUnderSecondConditionOfPlan    
Employer matching contributions to the plan $ 2.7us-gaap_DefinedContributionPlanCostRecognized $ 1.9us-gaap_DefinedContributionPlanCostRecognized $ 1.3us-gaap_DefinedContributionPlanCostRecognized