XML 55 R42.htm IDEA: XBRL DOCUMENT v3.24.0.1
Net Income (Loss) Per Share Attributable to Common Stockholders (Tables)
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The following table shows the computation of basic and diluted net (loss) income per share attributable to common stockholders (in thousands, except per share amounts):
Year Ended December 31,
20232022
2021
Numerator:
Net income (loss)
$13,953 $(48,733)$(108,664)
Net income (loss) attributable to common stockholders—basic and diluted
$13,953 $(48,733)$(108,664)
Denominator:
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—basic
190,466 195,829 161,424 
Effect of potentially dilutive securities:
Options to purchase common stock
1,380 — — 
RSUs
2,558 — — 
Employee stock purchase plan
11 — — 
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—diluted
194,415 195,829 161,424 
Net (loss) income per share attributable to common stockholders—basic
$0.07 $(0.25)$(0.67)
Net (loss) income per share attributable to common stockholders—diluted
$0.07 $(0.25)$(0.67)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following table presents the number of stock options, RSUs, and PSUs excluded from the calculation of diluted net income (loss) per share attributable to common stockholders because they are anti-dilutive (in thousands):
As of December 31,
202320222021
Options to purchase common stock
10,714 17,155 15,274 
RSUs
7,426 8,879 3,627 
Employee stock purchase plan
43 140 96 
Total
18,183 26,174 18,997