XML 18 R4.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Operations and Comprehensive Loss - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Statement of Comprehensive Income [Abstract]      
Revenue $ 448,788 $ 431,892 $ 368,433
Cost of revenue 131,487 134,934 114,216
Gross profit 317,301 296,958 254,217
Operating expenses:      
Sales and marketing 159,092 173,621 161,337
Research and development 95,468 95,986 81,647
General and administrative 120,519 99,365 87,482
Restructuring 3,621 12,169  
Total operating expenses 378,700 381,141 330,466
Operating loss (61,399) (84,183) (76,249)
Other expense, net:      
Interest income 7,120 5,697 390
Interest expense (2,796) (5,106) (35,949)
Gain on extinguishment of convertible notes, capped call modification and change in fair value 12,658 19,243 7,181
Other income (expense), net 820 777 (2,748)
Total other income (expense), net 17,802 20,611 (31,126)
Loss before income taxes (43,597) (63,572) (107,375)
Benefit from (provision for) income taxes (3,708) 2,398 12,579
Net loss $ (47,305) $ (61,174) $ (94,796)
Net loss per share attributable to common stockholders      
Basic $ (1.16) $ (1.54) $ (2.50)
Diluted $ (1.31) $ (1.76) $ (2.50)
Weighted-average common shares outstanding:      
Basic 40,668,327 39,680,440 37,962,793
Diluted 43,622,341 45,583,459 37,962,793
Other comprehensive income (loss):      
Foreign currency translation adjustment $ 9,866 $ (27,046) $ (5,712)
Total other comprehensive income (loss) 9,866 (27,046) (5,712)
Total comprehensive loss $ (37,439) $ (88,220) $ (100,508)