XML 92 R65.htm IDEA: XBRL DOCUMENT v3.20.4
Segment Information - Schedule of Reconciliation Between Reportable Segment Gross Profit to Consolidated Loss Before Provision for Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Segment Reporting [Abstract]      
Segment gross profit $ 71,545 $ 57,859 $ 60,807
Selling, general and administrative expenses 245,546 184,988 133,842
Depreciation and amortization 4,598 6,019 6,857
Interest expense 9,656 14,596 8,513
Interest income (5,896) (5,607) (3,135)
Revaluation of preferred stock warrant 20,470 769 174
Other income, net (114) (96) (495)
Loss before provision for income taxes $ (202,715) $ (142,810) $ (84,949)