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

Marketable Securities (Tables) | 6 Months Ended
--- | ---
Dec. 31, 2021
Marketable Securities |
Schedule of net gains and losses of marketable securities |
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three months ended December 31, 2021 | ​ | Six months ended December 31, 2021
​ | ​ | ​ | ​ | ​ | ​ | ​
Net gains recognized during the period on marketable securities | ​ | $ | 21 | ​ | $ | 40
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 | ​ |  | (39) | ​ |  | (36)
​ | ​ | $ | (18) | ​ | $ | 4
Schedule of fair value of marketable securities | The following tables summarize the Company’s investments at December 31, 2021 and June 30, 2021, respectively (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | December 31, 2021 | ​ | June 30, 2021
​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unrealized
​ | Cost |  | Fair Value |  | Gain (Loss) |  | Cost |  | Fair Value |  | Gain (Loss)
Marketable Securities | $ | 5,462 | ​ | $ | 5,417 | ​ | $ | (45) | ​ | $ | 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