XML 25 R14.htm IDEA: XBRL DOCUMENT
v3.21.2

Short-term and Long-term Investments | 9 Months Ended
--- | ---
Sep. 30, 2021
Investments, Debt and Equity Securities [Abstract] |
Short-term and Long-term Investments | Short-term and Long-term Investments The Company's investments are classified as available-for-sale. The following table summarizes the amortized cost, gross unrealized gains and losses, and fair value of available-for-sale investments as of September 30, 2021:
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value
U.S. government debt securities | $ | 139,375 |  |  | $ | 5 |  |  | $ | (35) |  |  | $ | 139,345 |
Certificates of deposit | 265 |  |  | — |  |  | — |  |  | 265 |
Total | $ | 139,640 |  |  | $ | 5 |  |  | $ | (35) |  |  | $ | 139,610 |
The following table summarizes the amortized cost, gross unrealized gains and losses, and fair value of available-for-sale investments as of December 31, 2020:
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value
U.S. government debt securities | $ | 48,048 |  |  | $ | 14 |  |  | $ | (1) |  |  | $ | 48,061 |
Certificates of deposit | 264 |  |  | — |  |  | — |  |  | 264 |
Total | $ | 48,312 |  |  | $ | 14 |  |  | $ | (1) |  |  | $ | 48,325 |
The estimated fair value of available-for-sale investments classified by their contractual maturities as of September 30, 2021 was:
Due within one year | $ | 72,684 |
After one year through two years | 66,926 |
Total | $ | 139,610 |
Changes in market interest rates and bond yields cause certain investments to fall below their cost basis, resulting in unrealized losses on investments. The unrealized losses of the Company's debt security investments are not significant as of September 30, 2021.

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 The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2209399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2324412 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2176304 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration