XML 92 R77.htm IDEA: XBRL DOCUMENT
v3.20.4

Derivative Instruments and Hedging Activities - Additional Information (Detail) - USD ($) | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Jul. 13, 2017
Interest Rate Swap Contracts [Member] |  |  |
Derivative [Line Items] |  |  |
Liability of fair value of the interest rate swap contracts | $ 35,000 | $ 43,000 |
Interest Rate Swap Contracts [Member] | Other Current Liabilities [Member] |  |  |
Derivative [Line Items] |  |  |
Liability of fair value of the interest rate swap contracts | 35,000 | 43,000 |
Interest Rate Risk Management [Member] |  |  |
Derivative [Line Items] |  |  |
Notional amount | 8,100,000 | 10,300,000 |
Interest Rate Risk Management [Member] | Interest Rate Swap Contracts [Member] |  |  |
Derivative [Line Items] |  |  |
Notional amount |  |  | $ 15,000,000
Fixed rate of interest in swap contracts |  |  | 1.99%
Interest Rate Risk Management [Member] | Interest Rate Swap Contracts [Member] | Other Current Liabilities [Member] |  |  |
Derivative [Line Items] |  |  |
Liability of fair value of the interest rate swap contracts | 35,000 | $ 43,000 |
Designated as Hedging Instrument [Member] | Currency Hedge and Interest Rate Swap [Member] |  |  |
Derivative [Line Items] |  |  |
Estimated amount of pretax losses from other comprehensive income (loss) during the next 12-months | $ (35,000) |  |

X
- Definition Fixed interest rate related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The estimated value of gains (losses), net anticipated to be transferred in the future from accumulated other comprehensive income into earnings. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121549185&loc=d3e80845-113994 + Details
Name: | us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value portion of liability contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward (delivery or nondelivery) contracts, and swaps entered into. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mhh_InterestRateRiskManagementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mhh_ForeignExchangeForwardAndInterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |