XML 52 R45.htm IDEA: XBRL DOCUMENT
v3.25.3

Common Stock Repurchase Programs - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |  |  |
--- | --- | --- | --- | --- | ---
Sep. 30, 2025 | Jun. 30, 2025 | Mar. 31, 2025 | Sep. 30, 2024 | Jun. 30, 2024 | Mar. 31, 2024 | Sep. 30, 2025 | Sep. 30, 2024 | Aug. 31, 2025 | Dec. 31, 2024 | Aug. 31, 2018
Common Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased common stock, shares |  |  |  |  |  |  | 0 |  |  |  |
Common stock authorized for repurchase |  |  |  |  |  |  |  |  | $ 250,000 |  | $ 500,000
Company's Common stock repurchased | $ 229,100 |  |  |  |  |  | $ 229,100 |  |  | $ 2,900 |
Payments for repurchase of common stock |  |  |  |  |  |  | $ 22,645 | $ 1,060 |  |  |
Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |
Common Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased common stock, shares | 1,231,000 | 15,000 | 109,000 | 23,000 | 2,000 | 97,000 | 1,200,000 |  |  |  |
Payments for repurchase of common stock |  |  |  |  |  |  | $ 20,900 |  |  |  |
Restricted Stock [Member] |  |  |  |  |  |  |  |  |  |  |
Common Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Company's Common stock repurchased | $ 1,100 |  |  |  |  |  | $ 1,100 |  |  |  |
Restricted Stock [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |
Common Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased common stock, shares |  |  |  |  |  |  | 100,000 |  |  |  |
Payments for repurchase of common stock |  |  |  |  |  |  | $ 1,800 |  |  |  |

X
- Definition Common Stock [Line Items] + References No definition available. + Details
Name: | md_CommonStockLineItems
Namespace Prefix: | md_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |