XML 56 R49.htm IDEA: XBRL DOCUMENT
v3.25.3

Business Segments and Geographic Information - Summary of Operating Segments (Parenthetical) (Details) $ in Millions | 3 Months Ended
--- | ---
Sep. 30, 2025 USD ($)
Segment Reporting Information [Line Items] |
Non-allocated severance expense | $ 0.3

X
- Definition Non-Allocated Severance Expense + References No definition available. + Details
Name: | mhh_Non-AllocatedSeveranceExpense
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration