Cash, Cash Equivalents and Marketable Securities |
6 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Investments, Debt and Equity Securities [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cash, Cash Equivalents and Marketable Securities |
5. Cash, Cash Equivalents and Marketable Securities Cash equivalents are highly liquid investments that are readily convertible into cash with original maturities of three months or less when purchased. Marketable securities consist of securities with original maturities greater than 90 days when purchased. The Company classifies these marketable securities as available-for-sale and records them at fair value in the accompanying condensed consolidated balance sheets. Unrealized gains or losses are included in accumulated other comprehensive loss. Premiums or discounts from par value are amortized to interest income over the life of the underlying security. Cash, cash equivalents and marketable securities consisted of the following as of June 30, 2023 and December 31, 2022 (in thousands):
Although available to be sold to meet operating needs or otherwise, securities are generally held through maturity. The cost of securities sold is determined based on the specific identification method for purposes of recording realized gains and losses. During the six months ended June 30, 2023 and 2022, there were no realized gains or losses on sales of investments, and no investments were adjusted for other-than-temporary declines in fair value. As of June 30, 2023, marketable securities with maturities of one year or less when purchased are presented in current assets and those with maturities of more than one year are presented in the noncurrent assets in the accompanying condensed consolidated balance sheet. As of June 30, 2023, the Company had no securities that were in an unrealized loss position. The Company determined that there was no material change in the credit risk of the above marketable securities. As a result, the Company determined it did not hold any marketable securities with an other-than temporary impairment as of June 30, 2023. |