XML 35 R26.htm IDEA: XBRL DOCUMENT
v3.22.1

Marketable Securities (Tables) | 9 Months Ended
--- | ---
Mar. 31, 2022
Marketable Securities |
Schedule of net gains and losses of marketable securities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three months ended March 31, | ​ | Nine months ended March 31,
​ | ​ | 2022 |  | 2021 |  | 2022 |  | 2021
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net gains recognized during the period on marketable securities | ​ | $ | 19 | ​ | $ | 3 | ​ | $ | 58 | ​ | $ | 3
Less: Net gains recognized during the year on marketable securities sold during the period | ​ |  | — | ​ |  | — | ​ |  | — | ​ |  | —
Unrealized (losses) gains recognized during the reporting year on marketable securities still held at the reporting date | ​ |  | (191) | ​ |  | (42) | ​ |  | (226) | ​ |  | (42)
​ | ​ | $ | (172) | ​ | $ | (39) | ​ | $ | (168) | ​ | $ | (39)
Schedule of fair value of marketable securities | The following tables summarize the Company’s investments at March 31, 2022 and June 30, 2021, respectively (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | March 31, 2022 | ​ | June 30, 2021
​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized
​ | Cost |  | Fair Value |  | Gain (Loss) |  | Cost |  | Fair Value |  | Gain (Loss)
Marketable Securities | $ | 5,481 | ​ | $ | 5,245 | ​ | $ | (236) | ​ | $ | 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