Annual report pursuant to Section 13 and 15(d)

Net (Loss) Income Per Share Attributable to Common Stockholders - Summary of Computation of Company's Basic and Diluted Net (Loss) Income Per Share Attributable to Common Stockholders (Details)

v3.19.1
Net (Loss) Income Per Share Attributable to Common Stockholders - Summary of Computation of Company's Basic and Diluted Net (Loss) Income Per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Numerator:                      
Net (loss) income $ (1,493) $ (10,237) $ (11,541) $ (12,046) $ (15,344) $ (1,418) $ (1,812) $ (1,114) $ (35,317) $ (19,688) $ 1,702
Net loss attributable to common stockholders, basic and diluted                 $ (35,317) $ (19,688)  
Denominator:                      
Shares used in computing net loss per share attributable to common stockholders, basic and diluted                 5,758,875 447,946 407,735
Net (loss) income per share, attributable to common stockholders, basic and diluted $ (0.07) $ (21.26) $ (24.17) $ (25.76) $ (33.51) $ (3.14) $ (4.07) $ (2.55) $ (6.13) $ (43.95) $ 0
Noncumulative Preferred Stock                      
Numerator:                      
Noncumulative dividends on redeemable convertible preferred stock                     $ (1,702)