Summary of Cash, Cash Equivalents and Investments |
| | | | | | | | | | | | | | | | | | | | | | | | | As of June 30, 2021 | | | | Gross | | Gross | | | | Amortized | | unrealized | | unrealized | | Fair | | Cost | | gains | | losses | | Value | Cash and cash equivalents: | | | | | | | | | | | | Cash and money market funds | $ | 263,433 | | $ | — | | $ | — | | $ | 263,433 | Commercial paper | | 193,092 | | | — | | | (7) | | | 193,085 | U.S. government & agency securities | | 3,276 | | | — | | | — | | | 3,276 | Total cash and cash equivalents | | 459,801 | | | — | | | (7) | | | 459,794 | Investments: | | | | | | | | | | | | Commercial paper | | 173,929 | | | 23 | | | (6) | | | 173,946 | Corporate debt securities | | 13,629 | | | 52 | | | — | | | 13,681 | U.S. government & agency securities | | 497,020 | | | 29 | | | (97) | | | 496,952 | Total investments | | 684,578 | | | 104 | | | (103) | | | 684,579 | Total cash, cash equivalents and investments | $ | 1,144,379 | | $ | 104 | | $ | (110) | | $ | 1,144,373 | Short-term restricted cash: | | | | | | | | | | | | Cash | $ | 300 | | $ | — | | $ | — | | $ | 300 | Long-term restricted cash: | | | | | | | | | | | | Cash | $ | 3,000 | | $ | — | | $ | — | | $ | 3,000 | | | | | | | | | | | | | | As of December 31, 2020 | | | | Gross | | Gross | | | | Amortized | | unrealized | | unrealized | | Fair | | Cost | | gains | | losses | | Value | Cash and cash equivalents: | | | | | | | | | | | | Cash and money market funds | $ | 43,040 | | $ | — | | $ | — | | $ | 43,040 | Commercial paper | | 32,538 | | | — | | | (1) | | | 32,537 | U.S. government & agency securities | | 170 | | | — | | | — | | | 170 | U.S. Treasury security | | 5,864 | | | — | | | — | | | 5,864 | Total cash and cash equivalents | | 81,612 | | | — | | | (1) | | | 81,611 | Investments: | | | | | | | | | | | | Commercial paper | | 112,648 | | | 4 | | | (8) | | | 112,644 | Corporate debt securities | | 17,360 | | | 96 | | | — | | | 17,456 | U.S. government & agency securities | | 107,109 | | | 6 | | | (12) | | | 107,103 | Total investments | | 237,117 | | | 106 | | | (20) | | | 237,203 | Total cash, cash equivalents and investments | $ | 318,729 | | $ | 106 | | $ | (21) | | $ | 318,814 | Short-term restricted cash: | | | | | | | | | | | | Cash | $ | 836 | | $ | — | | $ | — | | $ | 836 | Long-term restricted cash: | | | | | | | | | | | | Cash | $ | 3,500 | | $ | — | | $ | — | | $ | 3,500 | | | | | | | | | | | | |
|