Fair Value Measurements (Details) - USD ($) $ in Thousands | Jun. 30, 2021 | Dec. 31, 2020 |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | $ 70,062 | $ 69,984 |
Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Assets, fair value | 70,062 | 69,984 |
Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Assets, fair value | 6,022 | 3,698 |
Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Assets, fair value | 64,040 | 66,286 |
Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Assets, fair value | 0 | 0 |
Commercial paper | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 15,996 | 8,994 |
Commercial paper | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
Commercial paper | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 15,996 | 8,994 |
Commercial paper | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
Corporate notes | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 43,668 | 35,911 |
Corporate notes | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
Corporate notes | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 43,668 | 35,911 |
Corporate notes | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. government securities | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,500 | 12,842 |
U.S. government securities | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,500 | 12,842 |
U.S. government securities | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. government securities | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,500 | 12,842 |
U.S. government securities | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. government agency bonds | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,074 | 5,001 |
U.S. government agency bonds | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,074 | 5,001 |
U.S. government agency bonds | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. government agency bonds | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,074 | 5,001 |
U.S. government agency bonds | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. asset-backed securities | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,802 | 3,538 |
U.S. asset-backed securities | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,802 | 3,538 |
U.S. asset-backed securities | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
U.S. asset-backed securities | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 1,802 | 3,538 |
U.S. asset-backed securities | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Debt securities, fair value | 0 | 0 |
Money market funds | Recurring | | |
Liabilities that are measured at fair value on a recurring basis | | |
Money market funds | 6,022 | 3,698 |
Money market funds | Recurring | Level 1 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Money market funds | 6,022 | 3,698 |
Money market funds | Recurring | Level 2 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Money market funds | 0 | 0 |
Money market funds | Recurring | Level 3 | | |
Liabilities that are measured at fair value on a recurring basis | | |
Money market funds | $ 0 | $ 0 |