Cash, Cash Equivalents, Restricted Cash and Marketable Securities - Schedule of Cash, Cash Equivalents and Restricted Cash (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
---|---|---|---|---|
Cash and Cash Equivalents [Line Items] | ||||
Cash and cash equivalents | $ 442,961 | $ 703,161 | $ 713,224 | $ 477,663 |
Money market and demand accounts | ||||
Cash and Cash Equivalents [Line Items] | ||||
Cash and cash equivalents | 430,707 | 643,825 | ||
Commercial paper | ||||
Cash and Cash Equivalents [Line Items] | ||||
Cash and cash equivalents | 5,728 | 26,741 | ||
U.S. government securities | ||||
Cash and Cash Equivalents [Line Items] | ||||
Cash and cash equivalents | 0 | 15,707 | ||
Corporate bonds, asset backed and other securities | ||||
Cash and Cash Equivalents [Line Items] | ||||
Cash and cash equivalents | $ 6,526 | $ 16,888 |