XML 74 R63.htm IDEA: XBRL DOCUMENT
v3.23.3

Employee Benefit Plans (Details) - Schedule of table presents awarded but not yet vested share - Restricted Stock [Member] - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Employee Benefit Plans (Details) - Schedule of table presents awarded but not yet vested share [Line Items] |  |  |
Balance | 83 |  | 97
Balance | $ 1,931 |  | $ 1,706
Granted | 11 | 15 | 16
Granted | $ 1,151 | $ 1,151 | $ 982
Granted | $ 105.17 | $ 79.02 | $ 60.12
Vested | (17) | (18) | (27)
Vested |  |  |
Amortization of Compensation Expense |  |  |
Amortization of Compensation Expense | $ (1,350) | $ (1,057) | $ (851)
Balance | 77 | 83 | 86
Balance | $ 1,732 | $ 1,931 | $ 1,837

X
- Definition Amortization of Compensation Expense - Unearned compensation + References No definition available. + Details
Name: | msex_AmortizationOfCompensationExpenseUnearnedCompensation
Namespace Prefix: | msex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition The grant-date value of unearned compensation. + References No definition available. + Details
Name: | msex_GrantedUnearnedCompensation
Namespace Prefix: | msex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The weighted average grant-date fair value of unearned compensation granted during the reporting period. + References No definition available. + Details
Name: | msex_ShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateValueUnearnedCompensation
Namespace Prefix: | msex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The grant-date value of unearned compensation for awards vested. + References No definition available. + Details
Name: | msex_VestedUnearnedCompensation
Namespace Prefix: | msex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of non-option equity instruments exercised by participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net number of non-option equity instruments granted to participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Other increase (decrease) in number of shares reserved for issuance under non-option equity instrument agreements that is not separately disclosed. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equity instruments other than options outstanding, including both vested and non-vested instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |