XML 52 R45.htm IDEA: XBRL DOCUMENT
v3.26.1

Credit Facility - Additional information (Detail) - USD ($) |  |  |  | 1 Months Ended | 3 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jan. 03, 2023 | Jan. 04, 2022 | Oct. 01, 2020 | Aug. 31, 2022 | Mar. 31, 2026 | Dec. 31, 2025 | May 09, 2024 | Dec. 31, 2020 | Jul. 13, 2017
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Deferred financing costs |  |  |  |  | $ 71,000 | $ 95,000 |  |  |
Revolving Line of Credit [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Percentage of eligible accounts receivable |  |  |  |  |  |  |  | 85.00% |
Outstanding borrowings amount |  |  |  |  | 0 |  |  |  |
Revolving Line of Credit [Member] | United States [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Percentage of eligible accounts receivable |  |  |  |  |  |  |  | 60.00% |
Revolving Line of Credit [Member] | Canada [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Letter of 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] | Swing Loans [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  |  |  |  |  |  |  | $ 6,000,000 |
Revolving Line of Credit [Member] | Letter Of Credit One From PNC Bank To Vietnam Client [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Letter of credit facility, outstanding amount |  |  |  |  |  |  | $ 162,000 |  |
Revolving Line of Credit [Member] | Letter of Credit [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Letter of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  | $ 5,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 |  |  |  |  |  |  |  |  | $ 53,100,000
Payment of deferred financing costs |  |  |  |  | $ 1,039,000 |  |  |  |
PNC Bank, N.A. [Member] | Term Loan Facility [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  |  |  |  | 0 | 0 |  |  | 13,100,000
Credit facility, periodic payment |  |  | $ 1,100,000 |  |  |  |  |  |
Repayments of debt |  |  |  | $ 7,600,000 |  |  |  |  |
Line of credit facility final amount | $ 1,100,000 |  |  |  |  |  |  |  |
PNC Bank, N.A. [Member] | Revolving Line of Credit [Member] |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |
Credit facility maximum borrowing capacity |  |  |  |  | $ 21,300,000 | $ 19,900,000 |  |  | $ 40,000,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 SOFR rate |  |  |  |  |  |  |  | 2.25% |
Term loan percentage margin adjusted SOFR 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 |  | $ 20,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 SOFR rate |  |  |  |  |  |  |  | 1.50% |
Term loan percentage margin adjusted SOFR rate |  |  |  |  |  |  |  | 2.75% |

X
- Definition Letter of credit facility, maximum borrowing capacity. + References No definition available. + Details
Name: | mhh_LetterOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 final amount. + References No definition available. + Details
Name: | mhh_LineOfCreditFacilityFinalAmount
Namespace Prefix: | mhh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: | dtr-types: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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revolving credit facility percentage margin adjusted SOFR rate. + References No definition available. + Details
Name: | mhh_RevolvingCreditFacilityPercentageMarginAdjustedSofrRate
Namespace Prefix: | mhh_
Data Type: | dtr-types: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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term loan percentage margin adjusted SOFR rate. + References No definition available. + Details
Name: | mhh_TermLoanPercentageMarginAdjustedSofrRate
Namespace Prefix: | mhh_
Data Type: | dtr-types: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: | dtr-types: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: | dtr-types: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://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-15 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-12 + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the required periodic payments of both interest and principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of cash outflow for short-term and long-term debt. Excludes payment of lease obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
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=mhh_SwingLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | mhh_InterestRateTypeAxis=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_TermLoanMember
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: |