UNAUDITED CONDENSED CONSOLIDATED STATEMENT OF CHANGE IN EQUITY - USD ($) $ in Thousands | Common stock | Additional paid in capital | Accumulated foreign currency translation adjustments | Accumulated unrealized gains (losses) on available-for-sale debt securities | Accumulated deficit | Total |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Cumulative effect of applying new accounting standards | | | | | $ 8,645 | $ 8,645 |
Beginning balance as adjusted | $ 854 | $ 455,401 | $ (17,867) | $ (3,774) | (222,985) | 211,629 |
Beginning balance as adjusted, shares | 562,119,334 | | | | | |
Balance at the beginning of the period at Dec. 31, 2017 | $ 854 | 455,401 | (17,867) | (3,774) | (231,630) | 202,984 |
Balance at the beginning of the period, shares at Dec. 31, 2017 | 562,119,334 | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | (20,738) | (20,738) |
Issuance of shares upon exercise of stock options | $ 4 | 1,530 | | | | 1,534 |
Issuance of shares upon exercise of stock options (in shares) | 2,740,626 | | | | | |
Foreign currency translation adjustments | | | (2,525) | | | (2,525) |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | (4,056) | | (4,056) |
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net income, net of tax of $ | | | | 1,163 | | 1,163 |
Share-based compensation expense | | 4,672 | | | | 4,672 |
Balance at the end of the period at Mar. 31, 2018 | $ 858 | 461,603 | (20,392) | (6,667) | (243,723) | 191,679 |
Balance at the end of the period, shares at Mar. 31, 2018 | 564,859,960 | | | | | |
Balance at the beginning of the period at Dec. 31, 2017 | $ 854 | 455,401 | (17,867) | (3,774) | (231,630) | 202,984 |
Balance at the beginning of the period, shares at Dec. 31, 2017 | 562,119,334 | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | | (64,583) |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | | | 1,167 |
Balance at the end of the period at Jun. 30, 2018 | $ 860 | 466,229 | (14,285) | (134) | (287,568) | 165,102 |
Balance at the end of the period, shares at Jun. 30, 2018 | 566,496,400 | | | | | |
Balance at the beginning of the period at Mar. 31, 2018 | $ 858 | 461,603 | (20,392) | (6,667) | (243,723) | 191,679 |
Balance at the beginning of the period, shares at Mar. 31, 2018 | 564,859,960 | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | (43,845) | (43,845) |
Issuance of shares upon exercise of stock options | $ 2 | 887 | | | | 889 |
Issuance of shares upon exercise of stock options (in shares) | 1,636,440 | | | | | |
Foreign currency translation adjustments | | | 6,107 | | | 6,107 |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | 5,223 | | 5,223 |
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net income, net of tax of $ | | | | 1,310 | | 1,310 |
Share-based compensation expense | | 3,739 | | | | 3,739 |
Balance at the end of the period at Jun. 30, 2018 | $ 860 | 466,229 | (14,285) | (134) | (287,568) | 165,102 |
Balance at the end of the period, shares at Jun. 30, 2018 | 566,496,400 | | | | | |
Balance at the beginning of the period at Dec. 31, 2018 | $ 939 | 574,208 | (9,607) | (156) | (318,499) | $ 246,885 |
Balance at the beginning of the period, shares at Dec. 31, 2018 | 627,454,270 | | | | | 627,454,270 |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | (27,412) | $ (27,412) |
Issuance of shares upon exercise of stock options | $ 1 | 35 | | | | 36 |
Issuance of shares upon exercise of stock options (in shares) | 840,432 | | | | | |
Foreign currency translation adjustments | | | (3,543) | | | (3,543) |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | 210 | | 210 |
Share-based compensation expense | | 3,479 | | | | 3,479 |
Balance at the end of the period at Mar. 31, 2019 | $ 940 | 577,722 | (13,150) | 54 | (345,911) | 219,655 |
Balance at the end of the period, shares at Mar. 31, 2019 | 628,294,702 | | | | | |
Balance at the beginning of the period at Dec. 31, 2018 | $ 939 | 574,208 | (9,607) | (156) | (318,499) | $ 246,885 |
Balance at the beginning of the period, shares at Dec. 31, 2018 | 627,454,270 | | | | | 627,454,270 |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | | $ (68,499) |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | | | 278 |
Balance at the end of the period at Jun. 30, 2019 | $ 943 | 581,245 | (8,308) | 109 | (386,998) | $ 186,991 |
Balance at the end of the period, shares at Jun. 30, 2019 | 630,672,578 | | | | | 630,672,578 |
Balance at the beginning of the period at Mar. 31, 2019 | $ 940 | 577,722 | (13,150) | 54 | (345,911) | $ 219,655 |
Balance at the beginning of the period, shares at Mar. 31, 2019 | 628,294,702 | | | | | |
Increase (Decrease) in Stockholders' Equity | | | | | | |
Net loss | | | | | (41,087) | (41,087) |
Issuance of shares upon exercise of stock options | $ 3 | 327 | | | | 330 |
Issuance of shares upon exercise of stock options (in shares) | 2,377,876 | | | | | |
Foreign currency translation adjustments | | | 4,842 | | | 4,842 |
Unrealized holding gains (losses) on available-for-sale debt securities, net of tax of $0 | | | | 68 | | 68 |
Reclassification from accumulated other comprehensive income of gains on available-for-sale debt securities included in net income, net of tax of $ | | | | (13) | | (13) |
Share-based compensation expense | | 3,196 | | | | 3,196 |
Balance at the end of the period at Jun. 30, 2019 | $ 943 | $ 581,245 | $ (8,308) | $ 109 | $ (386,998) | $ 186,991 |
Balance at the end of the period, shares at Jun. 30, 2019 | 630,672,578 | | | | | 630,672,578 |