Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Common Stock [Member] | Additional Paid-In Capital [Member] | Accumulated Other Comprehensive Income (Loss) [Member] | Accumulated Deficit [Member] |
Beginning Balance at Dec. 31, 2018 | $ 572,799 | $ 56 | $ 1,044,941 | $ (48) | $ (472,150) |
Beginning Balance, Shares at Dec. 31, 2018 | | 55,640,299 | | | |
Issuance of common stock upon equity offerings, net of issuance costs | 21,246 | | 21,246 | | |
Issuance of common stock upon equity offerings, net of issuance costs, Shares | | 511,363 | | | |
Issuance of common stock upon exercise of stock options | 817 | | 817 | | |
Issuance of common stock upon exercise of stock options, Shares | | 52,288 | | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes | (686) | | (686) | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes, Shares | | 78,155 | | | |
Issuance of common stock pursuant to ESPP purchases | 1,128 | | 1,128 | | |
Issuance of common stock pursuant to ESPP purchases, Shares | | 30,745 | | | |
Vesting of restricted stock purchases | 80 | | 80 | | |
Vesting of restricted stock purchases, Shares | | 24,195 | | | |
Stock-based compensation expense | 9,453 | | 9,453 | | |
Net unrealized gain on marketable securities | 624 | | | 624 | |
Net loss | (48,923) | | | | (48,923) |
Ending Balance at Mar. 31, 2019 | 556,538 | $ 56 | 1,076,979 | 576 | (521,073) |
Ending Balance, Shares at Mar. 31, 2019 | | 56,337,045 | | | |
Beginning Balance at Dec. 31, 2018 | 572,799 | $ 56 | 1,044,941 | (48) | (472,150) |
Beginning Balance, Shares at Dec. 31, 2018 | | 55,640,299 | | | |
Net loss | (106,244) | | | | |
Ending Balance at Jun. 30, 2019 | 704,190 | $ 60 | 1,281,333 | 1,191 | (578,394) |
Ending Balance, Shares at Jun. 30, 2019 | | 59,906,199 | | | |
Beginning Balance at Mar. 31, 2019 | 556,538 | $ 56 | 1,076,979 | 576 | (521,073) |
Beginning Balance, Shares at Mar. 31, 2019 | | 56,337,045 | | | |
Issuance of common stock upon equity offerings, net of issuance costs | 192,297 | $ 3 | 192,294 | | |
Issuance of common stock upon equity offerings, net of issuance costs, Shares | | 3,375,527 | | | |
Issuance of common stock upon exercise of stock options | 2,332 | $ 1 | 2,331 | | |
Issuance of common stock upon exercise of stock options, Shares | | 123,513 | | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes | (1,297) | | (1,297) | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes, Shares | | 47,258 | | | |
Vesting of restricted stock purchases | 78 | | 78 | | |
Vesting of restricted stock purchases, Shares | | 22,856 | | | |
Stock-based compensation expense | 10,948 | | 10,948 | | |
Net unrealized gain on marketable securities | 615 | | | 615 | |
Net loss | (57,321) | | | | (57,321) |
Ending Balance at Jun. 30, 2019 | 704,190 | $ 60 | 1,281,333 | 1,191 | (578,394) |
Ending Balance, Shares at Jun. 30, 2019 | | 59,906,199 | | | |
Beginning Balance at Dec. 31, 2019 | 578,694 | $ 61 | 1,316,795 | 754 | (738,916) |
Beginning Balance, Shares at Dec. 31, 2019 | | 60,644,380 | | | |
Issuance of common stock upon exercise of stock options | 967 | | 967 | | |
Issuance of common stock upon exercise of stock options, Shares | | 33,937 | | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes | (2,099) | | (2,099) | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes, Shares | | 160,594 | | | |
Issuance of common stock pursuant to ESPP purchases | 1,870 | | 1,870 | | |
Issuance of common stock pursuant to ESPP purchases, Shares | | 47,460 | | | |
Stock-based compensation expense | 16,705 | | 16,705 | | |
Net unrealized gain on marketable securities | 461 | | | 461 | |
Net loss | (73,026) | | | | (73,026) |
Ending Balance at Mar. 31, 2020 | 523,572 | $ 61 | 1,334,238 | 1,215 | (811,942) |
Ending Balance, Shares at Mar. 31, 2020 | | 60,886,371 | | | |
Beginning Balance at Dec. 31, 2019 | $ 578,694 | $ 61 | 1,316,795 | 754 | (738,916) |
Beginning Balance, Shares at Dec. 31, 2019 | | 60,644,380 | | | |
Issuance of common stock upon exercise of stock options, Shares | 368,391 | | | | |
Net loss | $ (125,866) | | | | |
Ending Balance at Jun. 30, 2020 | 495,816 | $ 61 | 1,359,310 | 1,227 | (864,782) |
Ending Balance, Shares at Jun. 30, 2020 | | 61,330,987 | | | |
Beginning Balance at Mar. 31, 2020 | 523,572 | $ 61 | 1,334,238 | 1,215 | (811,942) |
Beginning Balance, Shares at Mar. 31, 2020 | | 60,886,371 | | | |
Issuance of common stock upon exercise of stock options | 8,018 | | 8,018 | | |
Issuance of common stock upon exercise of stock options, Shares | | 334,454 | | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes | (74) | | (74) | | |
Issuance of common stock upon vesting of restricted share units, net of shares withheld for employee taxes, Shares | | 110,162 | | | |
Stock-based compensation expense | 17,128 | | 17,128 | | |
Net unrealized gain on marketable securities | 12 | | | 12 | |
Net loss | (52,840) | | | | (52,840) |
Ending Balance at Jun. 30, 2020 | $ 495,816 | $ 61 | $ 1,359,310 | $ 1,227 | $ (864,782) |
Ending Balance, Shares at Jun. 30, 2020 | | 61,330,987 | | | |