XML 16 R5.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Condensed Consolidated Statements of Income (Parenthetical) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Income Statement [Abstract] |  |  |
Net of Tax | $ 527 | $ 1,694 | $ 742

X
- Definition Net Of Tax, Unrealized Holding Gain (Loss) on Investments + References No definition available. + Details
Name: | md_NetOfTaxUnrealizedHoldingGainLossOnInvestments
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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