XML 62 R48.htm IDEA: XBRL DOCUMENT
v3.23.1

Business Combinations - Summary of Fair Value of Consideration for Acquired Business (Parenthetical) (Detail) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Oct. 01, 2020
Business Acquisition [Line Items] |  |  |  |
Fair value of contingent consideration | $ 0 | $ 0 | $ 2,882 |
Change in contingent consideration liability | 0 | $ (2,882) | $ 0 |
Amber Leaf Partners Inc [Member] |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Fair value of contingent consideration |  |  |  | $ 2,882
Change in contingent consideration liability | $ 2,900 |  |  |

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e7008-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126966325&loc=d3e6819-128478 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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