XML 24 R4.htm IDEA: XBRL DOCUMENT v3.21.1
Consolidated Statements of Operations and Comprehensive Loss - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2019
Revenue:      
Total revenue $ 1,453,047 $ 973,971 $ 700,969
Cost of revenue:      
Total cost of revenue 364,058 243,234 192,421
Gross profit 1,088,989 730,737 508,548
Operating expenses:      
Sales and marketing 798,625 591,379 539,606
Research and development 271,522 185,552 185,968
General and administrative 192,697 147,315 209,297
Total operating expenses 1,262,844 924,246 934,871
Loss from operations (173,855) (193,509) (426,323)
Interest expense (30,799) (29,254) (10,844)
Loss on extinguishment of debt (33,752) 0 0
Interest income and other income, net 8,914 19,207 8,959
Loss before provision for (benefit from) income taxes (229,492) (203,556) (428,208)
Provision for (benefit from) income taxes 13,775 4,803 (1,750)
Net loss $ (243,267) $ (208,359) $ (426,458)
Net loss per share attributable to common stockholders, basic and diluted (in usd per share) $ (1.31) $ (1.18) $ (3.16)
Weighted-average number of shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares) 185,760 176,704 135,163
Other comprehensive income (loss):      
Foreign currency translation gains (losses), net of tax $ 7,468 $ (573) $ (5,626)
Unrealized gains (losses) on investments, net of tax (831) 865 258
Other comprehensive income (loss) 6,637 292 (5,368)
Comprehensive loss (236,630) (208,067) (431,826)
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense 286,877 206,404 410,978
Sales and marketing      
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense 131,041 94,863 172,115
Research and development      
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense 65,890 43,211 74,108
General and administrative      
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense 47,288 39,745 122,715
Subscription      
Revenue:      
Total revenue 1,381,397 918,463 663,657
Cost of revenue:      
Total cost of revenue 259,992 163,931 117,764
Subscription | Cost of revenue      
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense 20,793 12,882 16,182
Professional services and other      
Revenue:      
Total revenue 71,650 55,508 37,312
Cost of revenue:      
Total cost of revenue 104,066 79,303 74,657
Professional services and other | Cost of revenue      
Stock-based compensation expense included in costs and expenses:      
Stock-based compensation expense $ 21,865 $ 15,703 $ 25,858