Quarterly report pursuant to Section 13 or 15(d)

Condensed Consolidated Balance Sheets (Parenthetical)

v3.10.0.1
Condensed Consolidated Balance Sheets (Parenthetical) - $ / shares
Jun. 30, 2018
Dec. 31, 2017
Statement Of Financial Position [Abstract]    
Redeemable convertible preferred stock, par value $ 0.001 $ 0.001
Redeemable convertible preferred stock, shares authorized 0 75,533,240
Redeemable convertible preferred stock, shares issued 0 12,263,126
Redeemable convertible preferred stock, shares outstanding 0 12,263,126
Common stock, par value $ 0.001 $ 0.001
Common stock, shares authorized 125,000,000 96,000,000
Common stock, shares issued 19,108,221 948,578
Common stock, shares outstanding 19,108,221 948,578
Preferred stock, par value $ 0.001 $ 0.001
Preferred stock, shares authorized 10,000,000 0
Preferred stock, shares issued 0 0
Preferred stock, shares outstanding 0 0