XML 28 R99.htm IDEA: XBRL DOCUMENT v3.20.1
Net income (loss) per share - Additional Information (Detail) - shares
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Series A Series B and Series C Preference Shares Convertible into Ordinary Shares [Member]    
Earnings Per Share [Line Items]    
Shares that anti-dilutive and excluded from the calculation of diluted net loss per share on weighted average basis 11,302,024 631,303,796