XML 56 R46.htm IDEA: XBRL DOCUMENT
v3.23.2

Business Segments and Geographic Information - Additional Information (Detail) | 6 Months Ended
--- | ---
Jun. 30, 2023
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 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: |