XML 40 R26.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Marketable Securities (Tables) | 12 Months Ended
--- | ---
Jun. 30, 2022
Marketable Securities |
Schedule of net gains and losses of marketable securities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year ended June 30,
​ |  | 2022 |  | 2021
​ | ​ | ​ | ​ | ​ | ​ | ​
Net gains recognized during the period on marketable securities | ​ | $ | 81 | ​ | $ | —
Less: Net gains recognized during the year on marketable securities sold during the period | ​ |  | — | ​ |  | —
Unrealized (losses) recognized during the reporting year on marketable securities still held at the reporting date | ​ |  | (426) | ​ |  | (9)
​ | ​ | $ | (345) | ​ | $ | (9)
Schedule of fair value of marketable securities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | June 30, 2022 | ​ | June 30, 2021
​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized
​ | Cost |  | Fair Value |  | Gain (Loss) |  | Cost |  | Fair Value |  | Gain (Loss)
Marketable Securities | $ | 5,504 | ​ | ​ | 5,068 | ​ | $ | (436) | ​ | $ | 5,422 | ​ | $ | 5,413 | ​ | $ | (9)

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