XML 55 R46.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Notes Payable and Line of Credit - Notes Payable Narrative (Details) - USD ($) |  | 1 Months Ended | 3 Months Ended
--- | --- | --- | ---
Apr. 17, 2020 | Oct. 31, 2019 | Sep. 30, 2019 | Dec. 31, 2021 | Dec. 31, 2020
Note payable |  |  |  |  |
Gain on extinguishment of debt |  |  |  |  | $ 2,196,000
Notes payable |  |  |  |  |
Note payable |  |  |  |  |
Borrowings |  | $ 2,000,000.0 | $ 1,000,000.0 |  |
Interest rate |  | 5.10% | 5.00% |  |
Interest Expense, Debt |  |  |  | $ 14,000 | 23,000
Small Business Administration Loans |  |  |  |  |
Note payable |  |  |  |  |
Borrowings | $ 827,000 |  |  |  |
Interest rate | 1.00% |  |  |  |
Term of Loan | 2 years |  |  |  |
Gain on extinguishment of debt |  |  |  |  | $ 2,200,000
Small Business Administration Loans | Modcomp Inc |  |  |  |  |
Note payable |  |  |  |  |
Borrowings | $ 1,353,600 |  |  |  |

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_InterestExpenseDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from a borrowing supported by a written promise to pay an obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cspi_NotesPayablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=cspi_SmallBusinessAdministrationLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cspi_ModcompIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |