Cash, Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended |
Mar. 31, 2022 | Dec. 31, 2021 |
Cash, Cash Equivalents and Marketable Securities | | |
Total cash, cash equivalents and marketable securities, Unrealized gains | $ 0 | $ 6 |
Total cash, cash equivalents and marketable securities, Unrealized losses | (402) | (86) |
Carrying value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 42,282 | 36,269 |
Total cash, cash equivalents and marketable securities, Cost | 220,355 | 270,426 |
Fair value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 42,282 | 36,269 |
Total cash, cash equivalents and marketable securities, Fair value | $ 219,953 | $ 270,346 |
Corporate debt securities due within 1 year of date of purchase | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 1 year | 1 year |
Corporate debt securities due within 1 year of date of purchase | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, unrealized gains | $ 0 | $ 6 |
Marketable securities, unrealized losses | (366) | (66) |
Corporate debt securities due within 1 year of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | 170,336 | 228,348 |
Corporate debt securities due within 1 year of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, fair value | $ 169,970 | $ 228,288 |
Corporate debt securities due within 1 to 2 years of date of purchase | Maximum [Member] | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 2 years | 2 years |
Corporate debt securities due within 1 to 2 years of date of purchase | Minimum [Member] | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 1 year | 1 year |
Corporate debt securities due within 1 to 2 years of date of purchase | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, unrealized gains | | $ 0 |
Marketable securities, unrealized losses | $ (24) | (20) |
Corporate debt securities due within 1 to 2 years of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | 1,701 | 5,809 |
Corporate debt securities due within 1 to 2 years of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, fair value | $ 1,677 | 5,789 |
U.S. government and government sponsored entities due within 1 year of date of purchase | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 1 year | |
U.S. government and government sponsored entities due within 1 year of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | $ 6,036 | |
Marketable securities, unrealized losses | (12) | |
Marketable securities, fair value | 6,024 | |
Cash | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 2,238 | 18,877 |
Cash | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 2,238 | 18,877 |
Money market funds | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 40,044 | 17,392 |
Money market funds | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | $ 40,044 | $ 17,392 |