Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Computation of Basic and Diluted Net Loss Per Common Share (Detail)

v3.8.0.1
Summary of Significant Accounting Policies - Computation of Basic and Diluted Net Loss Per Common Share (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Numerator:    
Net loss $ (59,601) $ (26,979)
Accretion of redeemable convertible preferred stock (4,470) (3,204)
Net loss attributable to common stockholders $ (64,071) $ (30,183)
Denominator:    
Weighted-average common shares outstanding 10,515,411 2,205,577
Less: Weighted-average shares subject to repurchase (182,818) (137,243)
Denominator for basic and diluted net loss per share attributable to common stockholders 10,332,593 2,068,334
Basic and diluted net loss per share attributable to common stockholders $ (6.20) $ (14.59)