XML 70 R49.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated balance sheet components - Summary of Cash, Cash Equivalents, and Marketable Securities (Details)
$ in Thousands
Dec. 31, 2022
USD ($)
Cash and Cash Equivalents [Line Items]  
Amortized Cost $ 465,584
Unrealized Gains 34
Unrealized Losses (246)
Fair Value 465,372
Unrealized Loss Position, Fair Value 84,017
Cash and Cash Equivalents  
Cash and Cash Equivalents [Line Items]  
Amortized Cost 313,684
Unrealized Gains 4
Unrealized Losses (3)
Fair Value 313,685
Unrealized Loss Position, Fair Value 24,960
Cash and Cash Equivalents | Cash  
Cash and Cash Equivalents [Line Items]  
Amortized Cost 134,408
Unrealized Gains 0
Unrealized Losses 0
Fair Value 134,408
Cash and Cash Equivalents | Money market funds  
Cash and Cash Equivalents [Line Items]  
Amortized Cost 130,377
Unrealized Gains 0
Unrealized Losses 0
Fair Value 130,377
Cash and Cash Equivalents | U.S. government securities  
Cash and Cash Equivalents [Line Items]  
Amortized Cost 48,899
Unrealized Gains 4
Unrealized Losses (3)
Fair Value 48,900
Marketable Securities | U.S. government securities  
Cash and Cash Equivalents [Line Items]  
Amortized Cost 151,900
Unrealized Gains 30
Unrealized Losses (243)
Fair Value 151,687
Unrealized Loss Position, Fair Value $ 59,057