XML 106 R78.htm IDEA: XBRL DOCUMENT
v3.20.1

Shareholders' Equity - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands |  |  | 12 Months Ended |
--- | --- | --- | --- | ---
Jul. 13, 2017 | Jul. 07, 2017 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Jul. 10, 2017
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Share issued price per share |  | $ 3.50 |  |  |  | $ 3.18
Proceeds from new shares issued |  |  | $ 168 |  | $ 6,000 |
Shares purchased to satisfy employee tax obligation |  |  | 2,574 | 2,574 |  |
Average share price for additional shares purchased |  |  | $ 5.05 | $ 8.01 |  |
Private Placement [Member] |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
New shares issued, shares | 1,700,000 |  |  |  |  |
Proceeds from new shares issued | $ 6,000 |  |  |  |  |
Private Placement [Member] | Ashok Trivedi [Member] |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Proceeds from new shares issued |  | $ 3,000 |  |  |  |
Private Placement [Member] | Sunil Wadhwani [Member] |  |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |  |
Proceeds from new shares issued |  | $ 3,000 |  |  |  |

X
- Definition Weighted average purchase price of capital shares purchased through an employee stock ownership plan. + References No definition available. + Details
Name: | us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
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_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares purchased for issuance under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesPurchasedForAward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_PrivatePlacementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mhh_AshokTrivediMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mhh_SunilWadhwaniMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |