XML 33 R9.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
OPERATING ACTIVITIES      
Net income (loss) $ 46,459 $ (8,569) $ 661
Less: Income from discontinued operations, net of income tax     (5,777)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Deferred tax expense (benefit) (37,971) 12 (1,777)
Non-cash interest expense 75    
Loss on debt extinguishment     88
Depreciation and amortization 1,906 2,133 1,883
Stock-based compensation expense 12,821 5,061 2,997
Bad debt expense 5,562 1,606 824
Loss on disposal of property and equipment   1  
Accretion of debt discount and debt issuance costs     75
Change in fair value of warrant liabilities   18,176 2,944
Changes in operating assets and liabilities:      
Accounts receivable (35,336) (25,342) (12,776)
Prepaid expenses and current other assets (326) (4,118) (179)
Accounts payable 25,008 3,501 10,448
Accrued expenses and other current liabilities 17,400 6,385 2,761
Other noncurrent assets and liabilities 605 (380) 100
Net cash provided by (used in) operating activities 36,203 (1,534) 2,272
INVESTING ACTIVITIES      
Purchase of property and equipment, net (1,037) (2,956) (579)
Purchases of marketable securities (103,964)    
Sale of marketable securities 64,970    
Net cash (used in) continuing operations (40,031) (2,956) (579)
Net cash provided by discontinued operations   200 2,481
Net cash provided by (used in) investing activities (40,031) (2,756) 1,902
FINANCING ACTIVITIES      
Proceeds from issuance of common stock upon initial public offering, net of issuance and offering costs   81,220  
Payment of deferred initial public offering costs (892) (2,835)  
Repayment of term loan     (5,351)
Proceeds from revolving line of credit   182,025 64,421
Repayments made against revolving line of credit   (182,278) (64,168)
Repurchase of convertible preferred stock     (2,500)
Repurchase of common stock   (185) (1,205)
Proceeds from exercise of stock options 2,329 6,536 65
Payment of employee taxes related to equity awards (8,930)    
Proceeds from contributions to employee stock purchase plan 1,244    
Exercise of stock warrants   62  
Net cash provided by (used in) financing activities (6,249) 84,545 (8,738)
Net increase (decrease) in cash and cash equivalents (10,077) 80,255 (4,564)
Cash and cash equivalents, beginning of year 80,382 127 4,691
Cash and cash equivalents, end of year 70,305 80,382 127
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION      
Cash paid for interest   176 505
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES      
Additions of property and equipment, net included in accounts payable and accrued expenses $ 24    
Deferred initial public offering costs in accounts payable and accrued expenses   906  
Non-cash settlement of liability     414
Non-cash liability forgiveness related to divestiture     $ 4,869
Non-cash preferred stock warrant conversion to common stock warrant upon IPO   $ (22,765)