XML 46 R58.htm IDEA: XBRL DOCUMENT
v3.20.1

Credit Facility - Additional information (Detail) - USD ($) |  |  | 3 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Apr. 20, 2018 | Jul. 13, 2017 | Mar. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Apr. 19, 2018 | Apr. 19, 2017
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Current borrowing capacity under line of credit facility |  |  |  | $ 13,000,000 | $ 9,000,000 |  |  |
Payment of deferred financing costs |  |  |  |  | 71,000 | $ 435,000 |  |
Deferred financing costs |  |  |  | 263,000 | 367,000 |  |  |
Outstanding debt balance |  |  |  | 4,575,000 | 4,575,000 |  |  |
Term Loan Facility [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Outstanding borrowings amount |  |  |  | $ 16,000,000 | 25,500,000 |  |  |
Term Loan Facility [Member] | Installments Payable on October 1 2018 Through and Including July 1 2021 [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Line of credit, periodic payment percentage |  |  |  | 3.75% |  |  |  |
Term Loan Facility [Member] | Installments Payable on October 1 2021 Through and Including Maturity Date [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Line of credit, periodic payment percentage |  |  |  | 5.00% |  |  |  |
Revolving Line of Credit [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity | $ 32,500,000 |  |  | $ 32,500,000 |  |  |  |
Percentage of eligible accounts receivable |  |  |  | 85.00% |  |  |  |
Current borrowing capacity under line of credit facility | 22,500,000 |  |  | $ 22,500,000 |  |  | $ 27,500,000 | $ 27,500,000
Outstanding borrowings amount |  |  |  | 9,500,000 | $ 13,600,000 |  |  |
Possible early debt repayment |  |  |  | 5,000,000 |  |  |  |
Outstanding debt balance |  |  |  | $ 9,500,000 |  |  |  |
Revolving Line of Credit [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Possible early debt repayment |  |  | $ 4,000,000 |  |  |  |  |
Revolving Line of Credit [Member] | United States [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Percentage of eligible unbilled accounts |  |  |  | 60.00% |  |  |  |
Revolving Line of Credit [Member] | Canada [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  |  |  | $ 10,000,000 |  |  |  |
Percentage of eligible accounts receivable |  |  |  | 85.00% |  |  |  |
Percentage of eligible unbilled accounts |  |  |  | 60.00% |  |  |  |
Revolving Line of Credit [Member] | Line of Credit [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  |  |  | $ 5,000,000 |  |  |  |
Revolving Line of Credit [Member] | Swing Loans [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity | 5,000,000 |  |  | $ 5,000,000 |  |  | $ 3,000,000 | $ 3,000,000
Federal Funds Rate [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.50% |  |  |  |
PNC Bank, N.A. [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  | $ 60,000,000 |  |  |  |  |  |
Payment of deferred financing costs | $ 506,000 |  |  |  |  |  |  |
PNC Bank, N.A. [Member] | Term Loan Facility [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  | 30,500,000 |  |  |  |  |  |
PNC Bank, N.A. [Member] | Delayed Draw Term Loan [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  | 7,000,000 |  |  |  |  |  |
PNC Bank, N.A. [Member] | Revolving Line of Credit [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  | 22,500,000 |  |  |  |  |  |
Maximum [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Revolving credit facility percentage margin over base rate |  |  |  | 1.25% |  |  |  |
Term loan percentage margin over base rate |  |  |  | 2.50% |  |  |  |
Revolving credit facility percentage margin adjusted LIBOR rate |  |  |  | 2.25% |  |  |  |
Term loan percentage margin adjusted LIBOR rate |  |  |  | 3.50% |  |  |  |
Maximum [Member] | PNC Bank, N.A. [Member] | Revolving Line of Credit [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit facility additional borrowing capacity upon certain conditions |  | $ 10,000,000 |  |  |  |  |  |
Minimum [Member] |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Revolving credit facility percentage margin over base rate |  |  |  | 0.50% |  |  |  |
Term loan percentage margin over base rate |  |  |  | 1.75% |  |  |  |
Revolving credit facility percentage margin adjusted LIBOR rate |  |  |  | 1.50% |  |  |  |
Term loan percentage margin adjusted LIBOR rate |  |  |  | 2.75% |  |  |  |

X
- Definition Line of credit facility additional borrowing capacity upon certain conditions. + References No definition available. + Details
Name: | mhh_LineOfCreditFacilityAdditionalBorrowingCapacityUponCertainConditions
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line of credit facility periodic payment percentage. + References No definition available. + Details
Name: | mhh_LineOfCreditFacilityPeriodicPaymentPercentage
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of eligible accounts receivable used to determine borrowings available under credit facility. + References No definition available. + Details
Name: | mhh_PercentageOfEligibleAccountsReceivableUsedToDetermineBorrowingsAvailableUnderCreditFacility
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of eligible unbilled accounts used to determine borrowings available under credit facility. + References No definition available. + Details
Name: | mhh_PercentageOfEligibleUnbilledAccountsUsedToDetermineBorrowingsAvailableUnderCreditFacility
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revolving credit facility percentage margin adjusted LIBOR rate. + References No definition available. + Details
Name: | mhh_RevolvingCreditFacilityPercentageMarginAdjustedLiborRate
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Revolving credit facility percentage margin over base rate. + References No definition available. + Details
Name: | mhh_RevolvingCreditFacilityPercentageMarginOverBaseRate
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term loan early paid + References No definition available. + Details
Name: | mhh_TermLoanEarlyPaid
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term loan percentage margin adjusted LIBOR rate. + References No definition available. + Details
Name: | mhh_TermLoanPercentageMarginAdjustedLiborRate
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Delayed draw term loan percentage margin over base rate. + References No definition available. + Details
Name: | mhh_TermLoanPercentageMarginOverBaseRate
Namespace Prefix: | mhh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 Reference 2: 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.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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(22)) -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 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + 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.19,20) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for loan and debt issuance costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=mhh_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=mhh_InstallmentsPayableOnOctoberOneTwoThousandAndEighteenThroughAndIncludingJulyOneTwoThousandAndTwentyOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=mhh_InstallmentsPayableOnOctoberOneTwoThousandAndTwentyOneThroughAndIncludingMaturityDateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mhh_SwingLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mhh_FederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=mhh_PncBankNaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=mhh_DelayedDrawTermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |