XML 83 R69.htm IDEA: XBRL DOCUMENT
v3.20.4

Income Taxes - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017
Income Tax [Line Items] |  |  |  |  |
Effective tax rate |  | 233.99% | 28.19% | 26.91% |
Increase (decrease) in net deferred tax liability |  | $ 37,500 |  |  |
Income tax expense for excess tax deficiencies |  | 7,100 | $ 3,800 | $ 1,300 |
Net operating loss carryforwards for federal and state tax |  | 35,400 | 31,500 | 27,800 |
Operating loss carryforwards subject to expiration |  | 22,300 |  |  |
Operating loss carryforwards not subject to expiration |  | 13,100 |  |  |
Uncertain tax position liability |  | 6,168 | 7,409 | $ 11,185 | $ 10,972
Unrecognized tax benefits that would impact effective tax rate |  | 6,200 |  |  |
Increase (decrease) in uncertain tax position |  | 1,200 | 3,800 |  |
Company's accrued liability for interest and penalties related to income tax liabilities |  | 1,000 | 600 |  |
Deferred tax assets |  | 7,274 |  |  |
Net deferred tax liabilities |  |  | $ 30,176 |  |
Capital losses incurred |  | 1,700,000 |  |  |
Capital loss carryforwards |  | 1,800,000 |  |  |
Income Tax , Penalties and Interest Expense |  | $ 500 |  |  |
Earliest Tax Year [Member] |  |  |  |  |
Income Tax [Line Items] |  |  |  |  |
Federal and state income tax examinations |  | 2015 |  |  |
Latest Tax Year [Member] |  |  |  |  |
Income Tax [Line Items] |  |  |  |  |
Federal and state income tax examinations |  |  | 2019 |  |
Scenario, Forecast [Member] |  |  |  |  |
Income Tax [Line Items] |  |  |  |  |
Increase (decrease) in uncertain tax position | $ 1,100 |  |  |  |
Minimum [Member] |  |  |  |  |
Income Tax [Line Items] |  |  |  |  |
Expiration period of operating loss carryforwards |  | 2022 |  |  |
Maximum [Member] |  |  |  |  |
Income Tax [Line Items] |  |  |  |  |
Expiration period of operating loss carryforwards |  | 2040 |  |  |

X
- Definition Capital loss carryforwards + References No definition available. + Details
Name: | md_CapitalLossCarryforwards
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Capital losses incurred. + References No definition available. + Details
Name: | md_CapitalLossesIncurred
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income tax expense for excess tax deficiencies. + References No definition available. + Details
Name: | md_IncomeTaxExpenseForExcessTaxDeficiencies
Namespace Prefix: | md_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Net operating loss carry forwards expiration date. + References No definition available. + Details
Name: | md_NetOperatingLossCarryForwardsExpirationDate
Namespace Prefix: | md_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are subject to expiration dates. + References No definition available. + Details
Name: | us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsSubjectToExpiration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e31931-109318 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The sum of the amounts of estimated penalties and interest recognized in the period arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Change during the period in carrying value for all deferred liabilities due within one year or operating cycle. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInDeferredLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Tax year that remains open to examination under enacted tax laws, in CCYY format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32718-109319 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | us-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI http://asc.fasb.org/extlink&oid=120406818&loc=SL37586934-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_EarliestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=us-gaap_LatestTaxYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |