Condensed Consolidated Statements of Operations - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Jan. 31, 2022
Jan. 31, 2021
Revenue        
Total revenue $ 223,944 $ 157,115 $ 623,019 $ 430,879
Cost of revenue        
Total cost of revenue 61,284 41,968 164,830 115,247
Gross profit 162,660 115,147 458,189 315,632
Operating expenses        
Research and development 71,749 51,400 194,894 143,766
Sales and marketing 105,069 71,087 288,055 191,712
General and administrative 31,691 27,121 89,298 72,555
Total operating expenses 208,509 149,608 572,247 408,033
Operating loss (45,849) (34,461) (114,058) (92,401)
Interest Expense (6,175) (65) (14,327) (78)
Other income (expense), net (861) (2,312) (509) 8,502
Loss before income taxes (52,885) (36,838) (128,894) (83,977)
Provision for income taxes 3,841 1,136 9,344 2,156
Net loss $ (56,726) $ (37,974) $ (138,238) $ (86,133)
Net loss per share attributable to ordinary shareholders, basic and diluted (in dollars per share) $ (0.61) $ (0.43) $ (1.50) $ (1.00)
Weighted-average shares used to compute net loss per share attributable to ordinary shareholders, basic and diluted (in shares) 93,015,185 88,341,038 92,140,919 86,296,028
Total subscription        
Revenue        
Total revenue $ 209,614 $ 147,249 $ 577,056 $ 402,800
Cost of revenue        
Total cost of revenue 47,577 31,772 127,339 87,503
License - self-managed        
Revenue        
Total revenue 20,119 15,280 54,457 45,673
Cost of revenue        
Total cost of revenue 501 346 1,242 1,039
Subscription - self-managed and SaaS        
Revenue        
Total revenue 189,495 131,969 522,599 357,127
Cost of revenue        
Total cost of revenue 47,076 31,426 126,097 86,464
Professional services        
Revenue        
Total revenue 14,330 9,866 45,963 28,079
Cost of revenue        
Total cost of revenue $ 13,707 $ 10,196 $ 37,491 $ 27,744