v3.20.4
Quarterly Financial Data (Unaudited) - Summary of the Company's Information on Total Revenue, Gross Profit, Net Income (Loss) and Earnings Per Share by Quarter (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Mar. 31, 2020
Dec. 31, 2019
Sep. 30, 2019
Jun. 30, 2019
Mar. 31, 2019
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Quarterly Financial Information Disclosure [Abstract]                      
Total Revenue $ 649,886 $ 451,663 $ 356,073 $ 320,766 $ 411,230 $ 260,928 $ 250,101 $ 206,662 $ 1,778,388 $ 1,128,921 $ 742,506
Gross Profit 305,458 214,824 146,836 141,101 161,647 118,477 114,209 100,891 808,219 495,224 332,148
Net income (loss) attributable to common stockholders $ 67,306 $ 12,947 $ (43,148) $ (54,612) $ (15,717) $ (25,155) $ (9,333) $ (9,732) $ (17,507) $ (59,937) $ (8,857)
Basic net income (loss) per share attributable to common stockholders $ 0.53 $ 0.10 $ (0.35) $ (0.45)              
Diluted net income (loss) per share attributable to common stockholders $ 0.49 $ 0.09 $ (0.35) $ (0.45)              
Basic and diluted net loss per share attributable to common stockholders         $ (0.13) $ (0.22) $ (0.08) $ (0.09) $ (0.14) $ (0.52) $ (0.08)