XML 41 R30.htm IDEA: XBRL DOCUMENT
v3.21.2

Fair Value Measurements - Additional Information (Detail) | Jan. 31, 2021
--- | ---
Five Point Two Five Percentage Senior Notes Due Two Thousand Twenty Three [Member] | GAAP Senior Notes [Member] |
Fair Value Disclosures [Line Items] |
Debt instrument, interest rate, effective percentage | 5.25%

X
- Definition Fair value disclosures. + References No definition available. + Details
Name: | md_FairValueDisclosuresLineItems
Namespace Prefix: | md_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=md_FivePointTwoFivePercentageSeniorNotesDueTwoThousandTwentyThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=md_GaapSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |