XML 42 R28.htm IDEA: XBRL DOCUMENT v3.24.0.1
Net loss per share (Tables)
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Schedule of Net Income per Share, Basic and Diluted
7. Net income (loss) per share
The following table presents the calculations of basic and diluted net income (loss) per share:
Year ended December 31,
(in thousands, except per share data)202320222021
Numerator:
Net income (loss) - Basic$(53,183)$28,847 $371,171 
Interest on convertible notes, income tax effected— 3,055 — 
Net income (loss) - Diluted$(53,183)$31,902 $371,171 
Denominator:
Weighted-average common shares - basic for Class A and Class B common stock153,348 156,181 154,274 
Effect of dilutive securities— 22,098 8,904 
Weighted-average common shares - diluted for Class A and Class B common stock153,348 178,279 163,178 
Net income (loss) per share
Basic$(0.35)$0.18 $2.41 
Diluted$(0.35)$0.18 $2.27 
Schedule of Antidilutive Securities Excluded from Computation of Net Income per Share
The following potentially dilutive shares were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
Year ended December 31,
(in thousands)
202320222021
Stock-based awards15,839 7,495 1,792 
Shares related to convertible senior notes14,808 — — 
Total anti-dilutive securities30,647 7,495 1,792