Available-for-sale Securities |
The following table is a summary of our cash equivalents and short-term investments, amortized cost, unrealized gains and losses, and fair value: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | December 31, 2020 | | December 31, 2019 | | Cost | | | | Fair Value | | Cost | | Unrealized | | Fair Value | (in thousands) | | | | | | | | Gains | | Losses | | Money market funds | $ | 267,130 | | | | | | | $ | 267,130 | | | $ | 136,258 | | | $ | — | | | $ | — | | | $ | 136,258 | | Commercial paper | 113,446 | | | | | | | 113,446 | | | 77,082 | | | — | | | — | | | 77,082 | | U.S. treasury securities | — | | | | | | | — | | | 48,349 | | | 6 | | | — | | | 48,355 | | Overnight repurchase agreements | — | | | | | | | — | | | 15,001 | | | — | | | — | | | 15,001 | | U.S. government agency obligations | — | | | | | | | — | | | 5,993 | | | 2 | | | (5) | | | 5,990 | | Total cash equivalents and available-for-sale securities | $ | 380,576 | | | | | | | $ | 380,576 | | | $ | 282,683 | | | $ | 8 | | | $ | (5) | | | $ | 282,686 | | | | | | | | | | | | | | | | | | Classified as: | | | | | | | | | | | | | | | | Cash equivalents | | | | | | | $ | 277,629 | | | | | | | | | $ | 163,731 | | Short-term investments | | | | | | | 102,947 | | | | | | | | | 118,955 | | Total cash equivalents and available-for-sale securities | | | | | | | $ | 380,576 | | | | | | | | | $ | 282,686 | |
|