XML 69 R51.htm IDEA: XBRL DOCUMENT v3.24.0.1
Cash and Cash equivalents and Short-term investments - Schedule of Cash and Cash Equivalents and Short-Term Investments (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents $ 240,821 $ 115,326 $ 208,802
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 520,326 537,153  
Unrealized gains 554 1,086  
Unrealized losses (259) (1,139)  
Fair market value 520,621 537,100  
Debt securities, available-for-sale and held-to-maturity, adjusted cost basis 910,616 969,425  
Debt securities, available-for-sale and held-to-maturity, unrealized gains 554 1,086  
Debt securities, available-for-sale and held-to-maturity, unrealized losses (259) (1,139)  
Debt securities, available-for-sale and held-to-maturity, fair value 910,911 969,372  
Debt securities, available-for-sale and held-to-maturity 910,616 969,425  
Level 1 | U.S. Treasury bills      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 78,844 188,030  
Unrealized gains 55 8  
Unrealized losses (110) (540)  
Fair market value 78,789 187,498  
Level 2 | Government and governmental agencies      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 24,940 44,357  
Unrealized gains 13 12  
Unrealized losses 0 (12)  
Fair market value 24,953 44,357  
Level 2 | Corporate debt securities      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 416,542 304,766  
Unrealized gains 486 1,066  
Unrealized losses (149) (587)  
Fair market value 416,879 305,245  
Cash and cash equivalents      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0    
Debt securities, available-for-sale and held-to-maturity 240,821 115,326  
Cash and cash equivalents | Level 2 | Government and governmental agencies      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0    
Cash and cash equivalents | Level 2 | Corporate debt securities      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 0    
Short-term investments      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 520,326 537,153  
Debt securities, available-for-sale and held-to-maturity 669,795 854,099  
Short-term investments | Level 1 | U.S. Treasury bills      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 78,844 188,030  
Short-term investments | Level 2 | Government and governmental agencies      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 24,940 44,357  
Short-term investments | Level 2 | Corporate debt securities      
HTM Securities      
Debt securities, held-to-maturity, Adjusted cost basis and Recorded basis 416,542 304,766  
Cash      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents, fair value 9,955 9,697  
Cash | Cash and cash equivalents      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents 9,955 9,697  
Money market funds | Level 1      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents, fair value 227,166 105,629  
Money market funds | Cash and cash equivalents | Level 1      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents 227,166 105,629  
Certificate of deposits and term deposits | Level 2      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents, fair value 153,169 316,946  
Certificate of deposits and term deposits | Cash and cash equivalents | Level 2      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents 3,700 0  
Certificate of deposits and term deposits | Short-term investments | Level 2      
Debt Securities, Available-for-Sale [Line Items]      
Cash and cash equivalents $ 149,469 $ 316,946