XML 75 R61.htm IDEA: XBRL DOCUMENT
v3.23.1

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] |  |  |
Reclass of Deffered Tax Liabilities | $ 0.0 | $ 2.3 |
Deferred Current Liability |  | $ 2.3 |

X
- Definition Current Liabilities + References No definition available. + Details
Name: | mhh_CurrentLiabilities
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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 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 https://asc.fasb.org/extlink&oid=123427490&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 https://asc.fasb.org/extlink&oid=121826272&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: |