XML 71 R55.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Long-Term Severance Liability - Additional Information (Details) - President and Chief Executive Officer [Member] - Severance Agreement [Member] $ in Millions | Dec. 31, 2024 USD ($)
--- | ---
Disclosure of Severance Liability [Line Items] |
Contractual terms | $ 1.9
Other Current Liabilities [Member] |
Disclosure of Severance Liability [Line Items] |
Contractual terms | 0.9
Other Noncurrent Liabilities [Member] |
Disclosure of Severance Liability [Line Items] |
Contractual terms | $ 1.0

X
- References No definition available. + Details
Name: | mhh_DisclosureOfSeveranceLiabilityLineItems
Namespace Prefix: | mhh_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contractual obligation, including, but not limited to, long-term debt, lease obligation, purchase obligation, and other commitments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=mhh_PresidentAndChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mhh_AgreementAxis=mhh_SeveranceAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |