XML 47 R32.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Loans Payable - Change in Fair Value of Loans Payable - Additional Information (Details) - Loans Payable $ in Millions | 1 Months Ended
--- | ---
Mar. 31, 2021 USD ($)
L A V Series A And Series B Promissory Note |
Short Term Debt [Line Items] |
Outstanding amount settlement from proceeds received from note receivable | $ 10.8
Series C convertible preferred stock |
Short Term Debt [Line Items] |
Proceeds from promissory note receivable | $ 1.9

X
- Definition Outstanding amount settlement from proceeds received from note receivable. + References No definition available. + Details
Name: | tern_OutstandingAmountSettlementFromProceedsReceivedFromNoteReceivable
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceeds from issuance of temporary equity with debt receipts. + References No definition available. + Details
Name: | tern_ProceedsFromIssuanceOfTemporaryEquityWithDebtReceipts
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_ShortTermDebtLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LoansPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=tern_SeriesCConvertiblePreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |