Available-for-Sale Marketable Securities (Tables)
|
6 Months Ended |
Jun. 30, 2022 |
Investments Debt And Equity Securities [Abstract] |
|
Summary of Available-for-Sale Marketable Securities by Major Type of Security |
As of June 30, 2022 | | | | | | | | | | | | | | | | | | Gross Unrealized | | Estimated Fair | Type of Security | | Amortized Cost | | Gains | | Losses | | Value | U.S. Treasury securities | | $ | 11,033 | | $ | — | | $ | (32) | | $ | 11,001 | U.S. government agency obligations | | | 9,500 | | | — | | | (456) | | | 9,044 | Corporate bonds | | | 59,053 | | | — | | | (853) | | | 58,200 | Commercial paper | | | 57,846 | | | — | | | (150) | | | 57,696 | Municipal bonds | | | 22,580 | | | — | | | (556) | | | 22,024 | Total available-for-sale marketable securities | | $ | 160,012 | | $ | — | | $ | (2,047) | | $ | 157,965 |
As of December 31, 2021 | | | | | | | | | | | | | | | | | | Gross Unrealized | | Estimated Fair | Type of Security | | Amortized Cost | | Gains | | Losses | | Value | U.S. Treasury securities | | $ | 11,573 | | $ | — | | $ | (3) | | $ | 11,570 | U.S. government agency obligations | | | 17,020 | | | — | | | (45) | | | 16,975 | Corporate bonds | | | 66,495 | | | — | | | (171) | | | 66,324 | Commercial paper | | | 106,914 | | | 5 | | | (31) | | | 106,888 | Municipal bonds | | | 21,692 | | | — | | | (113) | | | 21,579 | Total available-for-sale marketable securities | | $ | 223,694 | | $ | 5 | | $ | (363) | | $ | 223,336 |
|
Schedule of Fair Values and Continuous Unrealized Loss Positions of Available-for-Sale Marketable Securities |
As of June 30, 2022 | | | | | | | | | | | | | | | | | | | | | Less than 12 Months | | 12 Months or Greater | | Total | | | | | | Gross | | | | | Gross | | | | | Gross | | | Fair | | Unrealized | | Fair | | Unrealized | | Fair | | Unrealized | | | Value | | Losses | | Value | | Losses | | Value | | Losses | U.S. Treasury securities | | $ | 11,001 | | $ | (32) | | $ | — | | $ | — | | $ | 11,001 | | $ | (32) | U.S. government agency obligations | | | 7,123 | | | (377) | | | 1,921 | | | (79) | | | 9,044 | | | (456) | Corporate bonds | | | 53,797 | | | (749) | | | 4,403 | | | (104) | | | 58,200 | | | (853) | Commercial paper | | | 57,696 | | | (150) | | | — | | | — | | | 57,696 | | | (150) | Municipal bonds | | | 18,019 | | | (439) | | | 4,005 | | | (117) | | | 22,024 | | | (556) | Total | | $ | 147,636 | | $ | (1,747) | | $ | 10,329 | | $ | (300) | | $ | 157,965 | | $ | (2,047) |
As of December 31, 2021 | | | | | | | | | | | | | | | | | | | | | Less than 12 Months | | 12 Months or Greater | | Total | | | | | | Gross | | | | | Gross | | | | | Gross | | | Fair | | Unrealized | | Fair | | Unrealized | | Fair | | Unrealized | | | Value | | Losses | | Value | | Losses | | Value | | Losses | U.S. Treasury securities | | $ | 11,570 | | $ | (3) | | $ | — | | $ | — | | $ | 11,570 | | $ | (3) | U.S. government agency obligations | | | 9,456 | | | (45) | | | — | | | — | | | 9,456 | | | (45) | Corporate bonds | | | 62,704 | | | (170) | | | 2,020 | | | (1) | | | 64,724 | | | (171) | Commercial paper | | | 52,163 | | | (31) | | | — | | | — | | | 52,163 | | | (31) | Municipal bonds | | | 20,562 | | | (105) | | | 1,017 | | | (8) | | | 21,579 | | | (113) | Total | | $ | 156,455 | | $ | (354) | | $ | 3,037 | | $ | (9) | | $ | 159,492 | | $ | (363) |
|
Schedule of Amortized Cost and Fair Values of Marketable Debt Securities by Contractual Maturity |
| | | | | | | | | | | | | | | As of June 30, 2022 | | As of December 31, 2021 | Contractual maturity | | Amortized Cost | | Fair Value | | Amortized Cost | | Fair Value | Less than one year | | $ | 111,417 | | $ | 110,794 | | $ | 153,631 | | $ | 153,582 | One year to three years | | | 48,595 | | | 47,171 | | | 70,063 | | | 69,754 | Total | | $ | 160,012 | | $ | 157,965 | | $ | 223,694 | | $ | 223,336 |
|