XML 17 R5.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Comprehensive Income (Loss) - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Statement [Abstract]      
Revenue $ 867,827 $ 679,394 $ 541,239
Cost of revenue 432,399 322,807 274,220
Gross profit 435,428 356,587 267,019
Operating expenses:      
Sales and marketing 174,549 125,909 94,185
Research and development 131,994 101,747 85,258
General and administrative 76,275 55,779 44,444
Restructuring charges (benefit) 0 (786) 6,286
Total operating expenses 382,818 282,649 230,173
Operating income 52,610 73,938 36,846
Interest and other income (expense), net:      
Interest income (expense), net 2,009 (402) (1,585)
Other expense, net (577) (882) (977)
Total interest and other income (expense), net 1,432 (1,284) (2,562)
Income before income taxes 54,042 72,654 34,284
Income taxes 13,032 (165,724) 800
Net income $ 41,010 $ 238,378 $ 33,484
Net income per common share:      
Basic (in dollars per share) $ 0.63 $ 3.77 $ 0.57
Diluted (in dollars per share) $ 0.60 $ 3.51 $ 0.54
Weighted-average number of shares used to compute net income per common share:      
Basic (in shares) 65,058 63,277 59,074
Diluted (in shares) 68,911 67,856 61,998
Net income $ 41,010 $ 238,378 $ 33,484
Other comprehensive income (loss), net of tax:      
Unrealized loss on available-for-sale marketable securities, net (1,521) (179) 0
Foreign currency translation adjustments, net (632) 50 663
Total other comprehensive income (loss), net of tax (2,153) (129) 663
Comprehensive income $ 38,857 $ 238,249 $ 34,147