XML 55 R43.htm IDEA: XBRL DOCUMENT v3.23.3
Consolidated balance sheet components - Summary of Cash, Cash Equivalents, and Marketable Securities (Details) - USD ($)
$ in Thousands
Sep. 30, 2023
Dec. 31, 2022
Cash and Cash Equivalents [Line Items]    
Amortized Cost $ 479,433 $ 465,584
Unrealized Gains 11 34
Unrealized Losses (4) (246)
Fair Value 479,440 465,372
Unrealized loss position, fair value 43,420 84,017
Cash and Cash Equivalents    
Cash and Cash Equivalents [Line Items]    
Amortized Cost 327,972 313,684
Unrealized Gains 2 4
Unrealized Losses 0 (3)
Fair Value 327,974 313,685
Unrealized loss position, fair value 0 24,960
Cash and Cash Equivalents | Cash    
Cash and Cash Equivalents [Line Items]    
Amortized Cost 46,057 134,408
Unrealized Gains 0 0
Unrealized Losses 0 0
Fair Value 46,057 134,408
Cash and Cash Equivalents | Money market funds    
Cash and Cash Equivalents [Line Items]    
Amortized Cost 267,036 130,377
Unrealized Gains 0 0
Unrealized Losses 0 0
Fair Value 267,036 130,377
Cash and Cash Equivalents | U.S. government securities    
Cash and Cash Equivalents [Line Items]    
Amortized Cost 14,879 48,899
Unrealized Gains 2 4
Unrealized Losses 0 (3)
Fair Value 14,881 48,900
Marketable Securities | U.S. government securities    
Cash and Cash Equivalents [Line Items]    
Amortized Cost 151,461 151,900
Unrealized Gains 9 30
Unrealized Losses (4) (243)
Fair Value 151,466 151,687
Unrealized loss position, fair value $ 43,420 $ 59,057