v3.25.4

Lease Commitments (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2025
Leases [Abstract] |
Components of Lease Expense | The components of lease expense for the years ended December 31, 2025, 2024 and 2023 were as follows:
|  | For the Year Ended December 31, |
|  | 2025 |  |  | 2024 |  |  | 2023 |
Lease cost: |  |  |  |  |  |  |  |  |
Operating lease cost |  | $ | 5,710 |  |  | $ | 5,993 |  |  | $ | 7,439 |
Finance lease cost: |  |  |  |  |  |  |  |  |
Amortization of right-of-use assets |  |  | 10,278 |  |  |  | 8,808 |  |  |  | 7,296 |
Interest on lease liabilities |  |  | 1,713 |  |  |  | 1,560 |  |  |  | 1,365 |
Total lease cost |  | $ | 17,701 |  |  | $ | 16,361 |  |  | $ | 16,100 |
Supplemental Cash Flow Information Related to Leases | Supplemental cash flow information related to leases for the years ended December 31, 2025, 2024 and 2023 was as follows:
|  | For the Year Ended December 31, |
|  | 2025 |  |  | 2024 |  |  | 2023 |
Cash paid for amounts included in the measurement of lease liabilities: |  |  |  |  |  |  |  |  |
Operating cash flow payments for operating leases |  | $ | 5,710 |  |  | $ | 5,993 |  |  | $ | 7,439 |
Operating cash flow payments for finance leases |  | $ | 1,713 |  |  | $ | 1,560 |  |  | $ | 1,365 |
Financing cash flow payments for finance leases |  | $ | 13,181 |  |  | $ | 8,918 |  |  | $ | 7,785 |
Other Information Related to Leases | Other information related to leases was as follows:
|  | December 31, |
|  | 2025 |  |  | 2024 |  |  | 2023 |
Weighted average remaining lease term: |  |  |  |  |  |  |  |  |
Operating leases |  | 2 years |  |  | 3 years |  |  | 4 years |
Finance leases |  | 5 years |  |  | 6 years |  |  | 7 years |
Weighted average discount rate: |  |  |  |  |  |  |  |  |
Operating leases |  |  | 5 | % |  |  | 6 | % |  |  | 5 | %
Finance leases |  |  | 3 | % |  |  | 3 | % |  |  | 3 | %
Supplemental Balance Sheet Information Related to Leases | Supplemental balance sheet information related to leases as of December 31, 2025 and December 31, 2024 was as follows:
|  | December 31, |
|  | 2025 |  |  | 2024 |
Operating Leases |  |  |  |  |  |
Operating lease right-of-use assets |  | $ | 6,818 |  |  | $ | 7,598 |
Operating lease right-of-use assets held for sale |  | $ | — |  |  | $ | 4,894 |
Other current liabilities |  | $ | 3,097 |  |  | $ | 2,874 |
Operating lease liabilities |  |  | 3,858 |  |  |  | 4,793 |
Total operating lease liabilities |  | $ | 6,955 |  |  | $ | 7,667 |
Operating lease liabilities associated with assets held for sale |  | $ | — |  |  | $ | 4,775 |
Finance Leases |  |  |  |  |  |
Property and equipment, gross |  | $ | 111,155 |  |  | $ | 88,557 |
Accumulated depreciation |  |  | (53,964 | ) |  |  | (41,219 | )
Property and equipment, net |  | $ | 57,191 |  |  | $ | 47,338 |
Other current liabilities |  | $ | 13,664 |  |  | $ | 9,415 |
Long-term debt |  |  | 41,209 |  |  |  | 38,799 |
Total finance lease liabilities |  | $ | 54,873 |  |  | $ | 48,214 |
Schedule of Maturities of Operating Lease Liabilities | M aturities of operating lease liabilities as of December 31, 2025 were as follows:
|  | Operating Leases |
2026 |  | $ | 3,728 |
2027 |  |  | 2,012 |
2028 |  |  | 1,045 |
2029 |  |  | 552 |
Total lease payments |  |  | 7,337 |
Less: imputed interest |  |  | (382 | )
Total lease liability |  | $ | 6,955 |

X
- Definition Schedule Of Supplemental Balance Sheet Information Related To Leases [Table Text Block] + References No definition available. + Details
Name: | merc_ScheduleOfSupplementalBalanceSheetInformationRelatedToLeasesTableTextBlock
Namespace Prefix: | merc_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition [Table Text Block] for Schedule Of Supplemental Cash Flow Information Related To Leases [Table] + References No definition available. + Details
Name: | merc_ScheduleOfSupplementalCashFlowInformationRelatedToLeasesTableTextBlock
Namespace Prefix: | merc_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule Of Weighted Average Lease Terms And Discount Rates For Operating And Finance Leases [Table Text Block] + References No definition available. + Details
Name: | merc_ScheduleOfWeightedAverageLeaseTermsAndDiscountRatesForOperatingAndFinanceLeasesTableTextBlock
Namespace Prefix: | merc_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration