XML 20 R4.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Operations and Comprehensive Loss - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Statement Of Income And Comprehensive Income [Abstract]      
Revenue $ 368,433 $ 271,141 $ 200,882
Cost of revenue 114,216 83,028 63,535
Gross profit 254,217 188,113 137,347
Operating expenses:      
Sales and marketing 161,337 123,330 87,731
Research and development 81,647 62,512 50,024
General and administrative 87,482 74,485 46,820
Total operating expenses 330,466 260,327 184,575
Operating loss (76,249) (72,214) (47,228)
Other expense, net:      
Interest income 390 2,007 4,499
Interest expense (35,949) (24,089) (7,478)
Gain (loss) on extinguishment of debt and capped call modification 7,181 (446) (1,406)
Other expenses, net (2,748) (921) (212)
Total other expense, net (31,126) (23,449) (4,597)
Loss before income taxes (107,375) (95,663) (51,825)
Benefit from (provision for) income taxes 12,579 2,267 (425)
Net loss $ (94,796) $ (93,396) $ (52,250)
Net loss per share attributable to common stockholders:      
Basic $ (2.50) $ (2.70) $ (1.58)
Diluted $ (2.50) $ (2.70) $ (1.58)
Weighted-average common shares outstanding:      
Basic 37,962,793 34,581,144 33,161,656
Diluted 37,962,793 34,581,144 33,161,656
Other comprehensive income (loss):      
Foreign currency translation adjustment $ (5,712) $ 8,557 $ (679)
Total other comprehensive income (loss) (5,712) 8,557 (679)
Total comprehensive loss $ (100,508) $ (84,839) $ (52,929)