XML 59 R48.htm IDEA: XBRL DOCUMENT
v3.24.3

Business Segments and Geographic Information - Additional Information (Detail) | 9 Months Ended
--- | ---
Sep. 30, 2024 Segment
Segment Reporting Information [Line Items] |
Number of reportable segments | 2
Data and Analytics Services [Member] | Business Combination Credit Agreement [Member] |
Segment Reporting Information [Line Items] |
Business acquisition date | Jul. 13, 2017

X
- Definition Date when the acquirer obtains control of the acquiree, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 25 -Paragraph 7 -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-7 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 25 -Paragraph 6 -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-6 + Details
Name: | us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mhh_DataAndAnalyticsServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mhh_BusinessCombinationCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |