XML 70 R53.htm IDEA: XBRL DOCUMENT
v3.24.0.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] |  |  |
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 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://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482685/740-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482525/740-10-45-6 + 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: |