XML 45 R30.htm IDEA: XBRL DOCUMENT
v3.24.2

Schedule of Issued Accounting Standards (Details) - Schedule of Issued Accounting Standards | 6 Months Ended
--- | ---
Jun. 30, 2024
Accounting Standards Update 2023-07 [Member] |
Schedule of Issued Accounting Standards [Line Items] |
Description | The ASU requires disclosure of significant segment expenses, extends certain annual disclosures to interim periods, and additional qualitative disclosures regarding the chief operating decision maker.
Date of adoption | Dec. 31, 2024
Application | Retrospective
Effect on the condensed consolidated financial statements | The Company is currently evaluating the requirements of ASU 2023-07.
Accounting Standards Update 2023-09 [Member] |
Schedule of Issued Accounting Standards [Line Items] |
Description | The ASU amends certain income tax disclosure requirements, including adding requirements to present the reconciliation of income tax expense computed at the statutory rate to actual income tax expense using both percentages and amounts and providing a disaggregation of income taxes paid. Further, certain disclosures are eliminated, including the current requirement to disclose information on changes in unrecognized tax benefits in the next 12 months.
Date of adoption | Dec. 31, 2025
Application | Prospective, with retrospective application also permitted.
Effect on the condensed consolidated financial statements | The Company is currently evaluating the requirements of ASU 2023-09.

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

X
- Definition Date accounting standards update was adopted, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476173/280-10-65-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482615/740-10-65-9 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 105 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479343/105-10-65-7 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476176/805-60-65-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476176/805-60-65-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480528/815-20-65-5 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478666/740-323-65-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478666/740-323-65-2 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483550/848-10-65-2 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 848 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483550/848-10-65-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479832/842-10-65-8 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477123/405-50-65-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482477/820-10-65-13 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482477/820-10-65-13 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-5 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-5 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 5 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-5 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480528/815-20-65-6 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480528/815-20-65-6 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480528/815-20-65-6 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479845/805-20-65-3 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479845/805-20-65-3 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479845/805-20-65-3 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480016/944-40-65-2 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480016/944-40-65-2 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-4 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-4 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483194/926-20-65-2 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483194/926-20-65-2 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-2 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (a) -SubTopic 10 -Topic 326 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-3 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 65 -Paragraph 3 -Subparagraph (b) -SubTopic 10 -Topic 326 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479654/326-10-65-3 Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476166/350-60-65-1 Reference 38: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 3 -SubTopic 10 -Topic 250 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-3 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateAdoptionDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of reason retrospective application of change in accounting principle to all prior periods is impracticable and alternative method used to report change. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476173/280-10-65-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-1 + Details
Name: | us-gaap_ChangeInAccountingPrincipleAccountingStandardsUpdateRetrospectiveApplicationImpracticableReasonAndAlternativeMethodDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure related to a new accounting pronouncement or a change in accounting principle, including the nature and reason for the change and the effect of the change on prior periods and the current period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476176/805-60-65-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480530/250-10-S99-6 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 11.M) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480530/250-10-S99-5 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-3 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 270 -SubTopic 10 -Section 45 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482989/270-10-45-12 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 270 -SubTopic 10 -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482989/270-10-45-13 + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the prior-period information that has been retrospectively adjusted when a new accounting pronouncement or a change in accounting principle is adopted. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476176/805-60-65-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-1 + Details
Name: | us-gaap_NewAccountingPronouncementOrChangeInAccountingPrincipleDescriptionOfPriorperiodInformationRetrospectivelyAdjusted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate202307Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate202309Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |