Condensed Consolidated Balance Sheets (Parenthetical) - USD ($)
$ in Thousands
Apr. 30, 2018
Jan. 31, 2018
[1]
Allowance for doubtful accounts $ 538 $ 345
Class A common stock [Member]    
Common stock, par value $ 0.00001 $ 0.00001
Common stock, shares authorized 800,000,000 800,000,000
Common stock, shares issued 120,368,510 117,246,735
Common stock, shares outstanding 120,368,510 117,246,735
Class B common stock [Member]    
Common stock, par value $ 0.00001 $ 0.00001
Common stock, shares authorized 190,000,000 190,000,000
Common stock, shares issued 22,808,075 24,822,661
Common stock, shares outstanding 22,808,075 24,822,661
[1] See note 1 of the notes to the condensed consolidated financial statements for a summary of adjustments.