Cash, Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended |
Jun. 30, 2023 | Dec. 31, 2022 |
Cash, Cash Equivalents and Marketable Securities | | |
Total cash, cash equivalents and marketable securities, Unrealized gains | $ 19 | $ 7 |
Total cash, cash equivalents and marketable securities, Unrealized losses | (108) | (39) |
Carrying value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 77,196 | 331,549 |
Total cash, cash equivalents and marketable securities, Cost | 298,507 | 358,806 |
Fair value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 77,196 | 331,549 |
Total cash, cash equivalents and marketable securities, Fair value | $ 298,418 | $ 358,774 |
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 | $ 13 | $ 7 |
Marketable securities, unrealized losses | (105) | (39) |
Corporate debt securities due within 1 year of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | 144,036 | 27,257 |
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 | $ 143,944 | 27,225 |
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 | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, unrealized gains | $ 6 | |
Marketable securities, unrealized losses | (3) | |
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 | 77,275 | |
U.S. government and government sponsored entities due within 1 year of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, fair value | 77,278 | |
Cash | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 8,185 | 15,100 |
Cash | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 8,185 | 15,100 |
Money market funds | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 69,011 | 316,449 |
Money market funds | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | $ 69,011 | $ 316,449 |