XML 34 R25.htm IDEA: XBRL DOCUMENT
v3.23.3

Marketable Securities (Tables) | 3 Months Ended
--- | ---
Sep. 30, 2023
Marketable Securities |
Schedule of net gains and losses of marketable securities | The disaggregated net gains and losses on the marketable securities recognized within the accompanying condensed consolidated statements of income for the three months ended September 30, 2023 and 2022, are as follows (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three months ended September 30, | ​
​ | ​ | 2023 |  | 2022 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net gains recognized during the period on marketable securities | ​ | $ | 42 | ​ | $ | — | ​
Less: Net gains recognized during the period on marketable securities sold during the period | ​ |  | — | ​ |  | — | ​
Unrealized gains (losses) recognized during the reporting period on marketable securities still held at the reporting date | ​ |  | (57) | ​ |  | (153) | ​
​ | ​ | $ | (15) | ​ | $ | (153) | ​
Schedule of fair value of marketable securities | The following tables summarize the Company’s investments at September 30, 2023 and June 30, 2023, respectively (in thousands):
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | September 30, 2023 | ​ | June 30, 2023
​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized
​ | Cost |  | Fair Value |  | Gain (Loss) |  | Cost |  | Fair Value |  | Gain (Loss)
Mutual Funds - Level 1 | $ | 5,693 | ​ | ​ | 5,121 | ​ | $ | (572) | ​ | $ | 5,651 | ​ | $ | 5,136 | ​ | $ | (515)

X
- Definition Tabular disclosure of net gain and losses of marketable securities. + References No definition available. + Details
Name: | nssc_MarketableSecuritiesNetGainAndLossesTableTextBlock
Namespace Prefix: | nssc_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of unrealized gains and losses on investments. + References No definition available. + Details
Name: | us-gaap_UnrealizedGainLossOnInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration