XML 102 R84.htm IDEA: XBRL DOCUMENT v3.19.1
Selected Quarterly Results (Unaudited) - Selected Quarterly Results (Detail) - 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, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Selected Quarterly Financial Information [Abstract]                              
Revenue $ 18,028 $ 14,156 $ 12,175 $ 11,281 $ 12,510 $ 11,253 $ 8,744 $ 29,478 $ 3,931 $ 3,571 $ 5,004 $ 3,040 $ 55,640 $ 61,985 $ 15,546
Gross profit 14,005 10,377 7,609 7,866 7,275 6,808 4,573 23,833 1,631 1,257 910 490      
Income (loss) from operations (4,448) (3,811) (7,266) (8,123) (14,291) (10,045) (12,987) 7,903 (15,200) (15,199) (15,594) (17,942) (23,648) (29,420) (63,935)
Net income (loss) $ (7,008) $ (18,880) $ (9,770) $ (10,709) $ (16,210) $ (11,951) $ (14,879) $ 48,325 $ (15,942) $ (15,977) $ (16,486) $ (18,733) $ (33,867) $ 5,285 $ (67,138)
Basic income (loss) per share $ (0.13) $ (0.29) $ (0.16) $ (0.18) $ (0.31) $ (0.21) $ (0.27) $ 0.89 $ (0.29) $ (0.30) $ (0.31) $ (0.35) $ (0.73) $ 0.10 $ (1.25)
Diluted income (loss) per share $ (0.13) $ (0.29) $ (16.00) $ (0.18) $ (0.30) $ (0.21) $ (0.27) $ 0.87 $ (0.29) $ (0.30) $ (0.31) $ (0.35) $ (0.73) $ 0.09 $ (1.25)