Cash, Cash Equivalents and Marketable Securities
|6 Months Ended|
Jun. 30, 2022
|Investments Debt And Equity Securities [Abstract]|
|Cash, Cash Equivalents and Marketable Securities||
4. 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 at June 30, 2022 and December 31, 2021 (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, 2022 and 2021, 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, 2022, 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.
At June 30, 2022, the Company held nine securities that were in an unrealized loss position. The aggregate fair value of securities held by the Company in an unrealized loss position for less than 12 months as of June 30, 2022 was $24.7 million. There were five securities held by the Company in an unrealized loss position for more than 12 months as of June 30, 2022. The Company has the intent and ability to hold such securities until recovery. 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, 2022.
The entire disclosure of cash, cash equivalents, and debt and equity securities, including any unrealized or realized gain (loss).
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef