XML 49 R38.htm IDEA: XBRL DOCUMENT
v3.24.3

Commitments and Contingencies - Additional Information (Detail) - Former Employee Unasserted Claim [Member] - USD ($) | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2024 | Sep. 30, 2023 | Sep. 30, 2024 | Sep. 30, 2023
Loss Contingencies [Line Items] |  |  |  |
Loss contingency accrual, provision |  | $ 3,100,000 |  |
Loss contingency payment net of settlement | $ 0 | $ 225,000 | $ 0 | $ 1,200,000

X
- Definition Loss contingency payment net of settlement. + References No definition available. + Details
Name: | mhh_LossContingencyPaymentNetOfSettlement
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483359/720-20-50-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 27 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482395/460-10-55-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-3 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-1 + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount charged against operating income increasing loss contingency liability, after adjustments to reduce previously estimated charges. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-1 + Details
Name: | us-gaap_LossContingencyAccrualProvision
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=mhh_FormerEmployeeUnassertedClaimMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |