XML 46 R31.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Loans Payable - Additional Information (Details) - USD ($) $ in Millions | 1 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Dec. 31, 2020 | May 31, 2020 | Sep. 30, 2022 | Oct. 31, 2018 | Apr. 30, 2017
Short Term Debt [Line Items] |  |  |  |  |
Proceeds from issuance of debt |  | $ 15.0 |  |  |
Bridge Loan |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Debt Instrument, fair value | $ 2.1 |  |  |  |
Proceeds from issuance of debt |  | $ 1.8 |  |  |
Debt instrument, interest rate |  | 10.00% |  |  |
Debt conversion, original debt, amount | 1.8 |  |  |  |
Proceeds from debt payable in different currency, description |  |  | payable in renminbi (RMB) at an established USD/RMB exchange rate, based on an average of the previous five working days before May 8, 2020. |  |
Debt conversion to stock, aggregate debt plus accrued interest | 1.9 |  |  |  |
Conversion of 2020 convertible promissory notes to Series C convertible preferred stock | 1.8 |  |  |  |
Debt conversion, accrued interest, amount | $ 0.1 |  |  |  |
Series C convertible preferred stock |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Convertible preferred stock, shares issued | 7,500,665 |  |  |  |
Series C convertible preferred stock | Bridge Loan |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Debt conversion, converted instrument, shares | 167,159 |  |  |  |
Series A convertible preferred stock |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Convertible preferred stock, shares issued |  |  |  |  | 2,089,285
Series A convertible preferred stock | LAV Affiliate |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Convertible preferred stock, shares issued | 767,857 |  |  |  |
Series B convertible preferred stock |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Convertible preferred stock, shares issued |  |  |  | 2,384,195 |
Series B convertible preferred stock | LAV Affiliate |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Convertible preferred stock, shares issued | 216,450 |  |  |  |
2020 Notes |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Debt instrument, interest rate |  | 10.00% |  |  |
Debt conversion, original debt, amount |  | $ 15.9 |  |  |
Debt conversion to stock, aggregate debt plus accrued interest | $ 15.9 |  |  |  |
Conversion of 2020 convertible promissory notes to Series C convertible preferred stock |  | $ 15.9 |  |  |
2020 Notes | Series C convertible preferred stock |  |  |  |  |
Short Term Debt [Line Items] |  |  |  |  |
Debt conversion, converted instrument, shares | 1,366,820 |  |  |  |

X
- Definition Debt conversion, accrued interest on debt, amount. + References No definition available. + Details
Name: | tern_DebtConversionAccruedInterestOnDebtAmount
Namespace Prefix: | tern_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Proceeds from debt payable in different currency, description. + References No definition available. + Details
Name: | tern_ProceedsFromDebtPayableInDifferentCurrencyDescription
Namespace Prefix: | tern_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: 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 https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
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
- Definition The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders. Securities issued include securities outstanding and securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + 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(27)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquitySharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_BridgeLoanMember
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: |

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

X
- Details
Name: | srt_CounterpartyNameAxis=tern_LillyAsiaVenturesAffiliateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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