XML 79 R64.htm IDEA: XBRL DOCUMENT
v3.20.4

Long-Term Payroll Tax Liability - Additional Information (Detail) - Coronavirus Aid, Relief and Economic Security Act [Member] - Social Security Tax [Member] - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | --- | ---
Deferred tax Payment |  |  | $ 4.6
Accrued Payroll and Related Cost [Member] |  |  |
Repayment of Deferred Tax Liabilities |  | $ 2.3 |
Long term Payroll Tax Liabilities [Member] |  |  |
Deferred Long Term Liability | $ 2.3 |  |

X
- Definition Repayment of Deffered Tax Liabilities. + References No definition available. + Details
Name: | mhh_RepaymentOfDefferedTaxLiabilities
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of long-term liability charges that are being deferred beyond one year. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.15) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_DeferredLongTermLiabilityCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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
- Details
Name: | mhh_TaxSupportToEntityReliefActAxis=mhh_CoronavirusAidReliefAndEconomicSecurityActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mhh_TypeOfSecurityTaxAxis=mhh_SocialSecurityTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mhh_BalancesheetlocationaxisAxis=mhh_AccruedPayrollAndRelatedCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mhh_BalancesheetlocationaxisAxis=mhh_LongTermPayrollTaxLiabiitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |