Annual report pursuant to Section 13 and 15(d)

Quarterly Operating Results (Unaudited) - Summary of Quarterly Results of Operations (Details)

v3.19.3.a.u2
Quarterly Operating Results (Unaudited) - Summary of Quarterly Results of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Quarterly Financial Information Disclosure [Abstract]                      
Revenue $ 79,445 $ 75,802 $ 80,456 $ 67,605 $ 60,231 $ 49,712 $ 54,014 $ 57,290 $ 303,308 $ 221,247 $ 171,022
Gross profit (loss) (13,269) (2,685) (1,598) 553 (3,964) (3,212) (699) 679 (16,999) (7,196) (42,925)
Net income (loss) $ (34,325) $ (6,779) $ (5,248) $ (3,042) $ (4,682) $ (10,949) $ 549 $ (5,296) $ (49,394) $ (20,378) $ (44,766)
Basic and diluted loss per share $ (2.26) $ (0.44) $ (0.34) $ (0.20) $ (0.31) $ (0.73) $ 0.04 $ (0.36) $ (3.24) $ (1.36) $ (3.02)