XML 67 R49.htm IDEA: XBRL DOCUMENT
v3.24.3

Related Party transactions (Details Narrative) - USD ($) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Dec. 31, 2023 | Dec. 31, 2022
Research, development expense | $ 0 | $ 608,000 | $ 3,500,000 | $ 1,000,000.0
TCG Green Chem Inc [Member] |  |  |  |
Payments to invoices in research and development |  |  | $ 1,096,370 | $ 450,000

X
- Definition Payments to invoices in research and development. + References No definition available. + Details
Name: | SHPH_PaymentsToInvoicesInResearchAndDevelopment
Namespace Prefix: | SHPH_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of other research and development expense. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 730 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482916/730-10-50-1 + Details
Name: | us-gaap_OtherResearchAndDevelopmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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