Condensed Consolidated Statements of Stockholders' Equity - USD ($) shares in Thousands, $ in Thousands | Total | Class A common stock | Class B common stock | Common StockClass A common stock | Common StockClass B common stock | Additional Paid-in Capital | Accumulated Other Comprehensive Income | Accumulated Deficit |
Beginning balance (in shares) at Jan. 31, 2019 | | | | | 77,119 | 32,575 | | | |
Beginning balance at Jan. 31, 2019 | $ 181,814 | | | | $ 8 | $ 3 | $ 488,776 | $ 481 | $ (307,454) |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | 10,064 | | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | | (10,064) | | | |
Conversion of Class B common stock to Class A common stock | 0 | | | | | | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | (8) | | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | | 1,811 | | | |
Issuance of common stock upon exercise of stock options, net of repurchases | 7,048 | | | | | | 7,048 | | |
Lapse of restrictions on common stock related to early exercise of stock options | 306 | | | | | | 306 | | |
RSU releases (in shares) | | | | | 278 | 100 | | | |
RSU releases | 0 | | | | | | | | |
Purchase of common stock under the ESPP (in shares) | | | | | 422 | | | | |
Purchases of common stock under the ESPP | 5,069 | | | | | | 5,069 | | |
Stock-based compensation | 19,575 | | | | | | 19,575 | | |
Deferred offering costs | 38 | | | | | | 38 | | |
Other comprehensive income (loss) | (229) | | | | | | | (229) | |
Net loss | (41,405) | [1] | | | | | | | (41,405) |
Ending balance (in shares) at Jul. 31, 2019 | | | | | 87,875 | 24,422 | | | |
Ending balance at Jul. 31, 2019 | 172,216 | | | | $ 8 | $ 3 | 520,812 | 252 | (348,859) |
Beginning balance (in shares) at Apr. 30, 2019 | | | | | 85,097 | 25,964 | | | |
Beginning balance at Apr. 30, 2019 | 174,219 | | | | $ 8 | $ 3 | 501,824 | 430 | (328,046) |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | 2,155 | | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | | (2,155) | | | |
Conversion of Class B common stock to Class A common stock | 0 | | | | | | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | (1) | | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | | 564 | | | |
Issuance of common stock upon exercise of stock options, net of repurchases | 2,202 | | | | | | 2,202 | | |
Lapse of restrictions on common stock related to early exercise of stock options | 101 | | | | | | 101 | | |
RSU releases (in shares) | | | | | 202 | 49 | | | |
RSU releases | 0 | | | | | | | | |
Purchase of common stock under the ESPP (in shares) | | | | | 422 | | | | |
Purchases of common stock under the ESPP | 5,069 | | | | | | 5,069 | | |
Stock-based compensation | 11,616 | | | | | | 11,616 | | |
Other comprehensive income (loss) | (178) | | | | | | | (178) | |
Net loss | (20,813) | | | | | | | | (20,813) |
Ending balance (in shares) at Jul. 31, 2019 | | | | | 87,875 | 24,422 | | | |
Ending balance at Jul. 31, 2019 | 172,216 | | | | $ 8 | $ 3 | 520,812 | 252 | (348,859) |
Beginning balance (in shares) at Jan. 31, 2020 | | | | | 97,134 | 17,348 | | | |
Beginning balance at Jan. 31, 2020 | 164,659 | | | | $ 10 | $ 2 | 555,307 | 188 | (390,848) |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | 6,420 | | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | | (6,420) | | | |
Conversion of Class B common stock to Class A common stock | $ 0 | | | | $ 1 | | | | |
Conversion of Class B common stock to Class A common stock | | | | | | $ (1) | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | (1) | | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | 1,878 | | | | | 1,877 | | | |
Issuance of common stock upon exercise of stock options, net of repurchases | $ 7,984 | | | | | | 7,984 | | |
Lapse of restrictions on common stock related to early exercise of stock options | 71 | | | | | | 71 | | |
RSU releases (in shares) | | | | | 1,256 | 70 | | | |
RSU releases | 0 | | | | | | | | |
Purchase of common stock under the ESPP (in shares) | | | | | 399 | | | | |
Purchases of common stock under the ESPP | 4,214 | | | | | | 4,214 | | |
Charitable donation of stock (in shares) | | | | | 74 | | | | |
Charitable donation of stock | 1,000 | | | | | | 1,000 | | |
Stock-based compensation | 29,160 | | | | | | 29,160 | | |
Other comprehensive income (loss) | (6) | | | | | | | (6) | |
Net loss | (37,610) | | | | | | | | (37,610) |
Ending balance (in shares) at Jul. 31, 2020 | | | 105,300 | 12,900 | 105,282 | 12,875 | | | |
Ending balance at Jul. 31, 2020 | 169,472 | | | | $ 11 | $ 1 | 597,736 | 182 | (428,458) |
Beginning balance (in shares) at Apr. 30, 2020 | | | | | 99,655 | 16,058 | | | |
Beginning balance at Apr. 30, 2020 | 161,833 | | | | $ 10 | $ 2 | 570,239 | (82) | (408,336) |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | 4,234 | | | | |
Conversion of Class B common stock to Class A common stock (in shares) | | | | | | (4,234) | | | |
Conversion of Class B common stock to Class A common stock | 0 | | | | $ 1 | | | | |
Conversion of Class B common stock to Class A common stock | | | | | | $ (1) | | | |
Issuance of common stock upon exercise of stock options, net of repurchases (in shares) | | | | | 1 | 1,021 | | | |
Issuance of common stock upon exercise of stock options, net of repurchases | 3,975 | | | | | | 3,975 | | |
Lapse of restrictions on common stock related to early exercise of stock options | 32 | | | | | | 32 | | |
RSU releases (in shares) | | | | | 919 | 30 | | | |
RSU releases | 0 | | | | | | | | |
Purchase of common stock under the ESPP (in shares) | | | | | 399 | | | | |
Purchases of common stock under the ESPP | 4,214 | | | | | | 4,214 | | |
Charitable donation of stock (in shares) | | | | | 74 | | | | |
Charitable donation of stock | 1,000 | | | | | | 1,000 | | |
Stock-based compensation | 18,276 | | | | | | 18,276 | | |
Other comprehensive income (loss) | 264 | | | | | | | 264 | |
Net loss | (20,122) | | | | | | | | (20,122) |
Ending balance (in shares) at Jul. 31, 2020 | | | 105,300 | 12,900 | 105,282 | 12,875 | | | |
Ending balance at Jul. 31, 2020 | $ 169,472 | | | | $ 11 | $ 1 | $ 597,736 | $ 182 | $ (428,458) |
|
[1] | Effective February 1, 2019, the Company adopted Topic 842 using the modified retrospective approach. See Note 2. Summary of Significant Accounting Policies and Recent Accounting Pronouncements. |