XML 101 R87.htm IDEA: XBRL DOCUMENT
v3.23.1

Related-Party Transactions - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Related Party Transaction [Line Items] |  |
Related Party Transaction, Amounts of Transaction | $ 14,000 |
CrowdStrike Inc [Member] |  |
Related Party Transaction [Line Items] |  |
Related party purchases | $ 98,000,000 | $ 98,000,000

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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