Schedule of cash equivalents and marketable securities |
Cash equivalents and marketable securities consisted of the following (in thousands): | | | | | | | | | | | | | | | December 31, 2020 | | | Amortized | | Gross Unrealized | | | | | Cost | | Gains | | Losses | | Fair Value | Money market funds | | $ | 27,481 | | $ | — | | $ | — | | $ | 27,481 | Commercial paper | | | 65,866 | | | — | | | (3) | | | 65,863 | Corporate debt securities | | | 27,592 | | | 2 | | | (4) | | | 27,590 | U.S. Treasury and agency securities | | | 183,203 | | | 10 | | | (3) | | | 183,210 | Total cash equivalents and marketable securities | | $ | 304,142 | | $ | 12 | | $ | (10) | | $ | 304,144 | Classified as: | | | | | | | | | | | | | Cash equivalents | | | | | | | | | | | $ | 113,693 | Marketable securities - current | | | | | | | | | | | | 188,451 | Marketable securities - noncurrent | | | | | | | | | | | | 2,000 | Total cash equivalents and marketable securities | | | | | | | | | | | $ | 304,144 |
| | | | | | | | | | | | | | | December 31, 2019 | | | Amortized | | Gross Unrealized | | | | | Cost | | Gains | | Losses | | Fair Value | Money market funds | | $ | 12,964 | | $ | — | | $ | — | | $ | 12,964 | Commercial paper | | | 44,284 | | | 2 | | | (4) | | | 44,282 | Corporate debt securities | | | 33,653 | | | 11 | | | (2) | | | 33,662 | U.S. Treasury and agency securities | | | 40,798 | | | 14 | | | (2) | | | 40,810 | Total cash equivalents and marketable securities | | $ | 131,699 | | $ | 27 | | $ | (8) | | $ | 131,718 | Classified as: | | | | | | | | | | | | | Cash equivalents | | | | | | | | | | | $ | 31,707 | Marketable securities - current | | | | | | | | | | | | 100,011 | Total cash equivalents and marketable securities | | | | | | | | | | | $ | 131,718 |
|