XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Payroll Tax Liability - Additional Information (Detail) - Coronavirus Aid, Relief and Economic Security Act [Member] - Social Security Tax [Member] - USD ($) $ in Millions | Jun. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Deferred tax Payment | $ 2.3 | $ 2.3
Short-term Payroll Tax Liabilities [Member] |  |
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 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_ShortTermPayrollTaxLiabiitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |