v3.24.2
Net Income (Loss) per Share Attributable to Common Stockholders - Antidilutive Securities (Details) - shares
3 Months Ended 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of net loss per share (in shares) 15,974,541 38,148,742 15,594,968 38,968,883
Weighted-average stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of net loss per share (in shares) 5,790,497 26,658,312 5,842,461 27,779,202
Weighted-average RSUs and PSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of net loss per share (in shares) 10,184,044 11,298,462 9,752,507 10,948,330
Weighted-average estimated to be purchased under ESPP        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of net loss per share (in shares) 0 191,968 0 241,351