XML 97 R80.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Subsequent Event - Additional Information (Detail) - Subsequent Event [Member] - Primentor Inc [Member] - Consulting Services Agreement [Member] $ in Thousands | Jan. 12, 2024 USD ($) shares
--- | ---
Subsequent Event [Line Items] |
Term of agreement of consultancy services | 3 years
Other commitment due in next twelve months | $ 990,000
Other commitment due in second year | 270,000
Other commitment due in third year | $ 120,000
Murthy [Member] |
Subsequent Event [Line Items] |
Share based compensation by share based number of shares covered for the options to be issued and exercised | shares | 192,500
Sangupta [Member] |
Subsequent Event [Line Items] |
Share based compensation by share based number of shares covered for the options to be issued and exercised | shares | 192,500
Murthy and Sangupta [Member] | Shares from Founders [Member] |
Subsequent Event [Line Items] |
Percentage of stock outstanding issuable | 1.10%

X
- Definition Percentage of stock outstanding issuable. + References No definition available. + Details
Name: | mhh_PercentageOfStockOutstandingIssuable
Namespace Prefix: | mhh_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation by share based number of shares covered for the options to be issued and exercised. + References No definition available. + Details
Name: | mhh_ShareBasedCompensationByShareBasedNumberOfSharesCoveredForTheOptionsToBeIssuedAndExercised
Namespace Prefix: | mhh_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of agreement of consultancy services. + References No definition available. + Details
Name: | mhh_TermOfAgreementOfConsultancyServices
Namespace Prefix: | mhh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of commitment classified as other to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInSecondYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInThirdYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=mhh_PrimentorIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=mhh_ConsultingServicesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=mhh_MurthyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=mhh_SanguptaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=mhh_MurthyAndSanguptaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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