CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (UNAUDITED) - USD ($) shares in Thousands, $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Cumulative Effect, Period of Adoption, Adjusted Balance | Common Stock | Additional Paid-in Capital | Additional Paid-in Capital Cumulative Effect, Period of Adoption, Adjustment | Additional Paid-in Capital Cumulative Effect, Period of Adoption, Adjusted Balance | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjustment | Accumulated Deficit Cumulative Effect, Period of Adoption, Adjusted Balance |
Beginning Balance (in shares) at Dec. 31, 2020 | | | | 57,682 | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ 422,070 | | | $ 577 | $ 622,768 | | | $ 376 | $ (201,651) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 291 | | | | | | | |
Stock option exercises | 7,674 | | | $ 3 | 7,671 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 605 | | | | | | | |
Vesting of restricted stock units | 5 | | | $ 5 | 0 | | | | 0 | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 64 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 5,197 | | | $ 1 | 5,196 | | | | 0 | | |
Acquisition of common stock for tax withholding obligations | (12,649) | | | | (12,649) | | | | 0 | | |
Stock-based compensation | 50,123 | | | | 50,123 | | | | 0 | | |
Equity component of partial repurchase of 2024 convertible senior notes | (219,284) | | | | (219,284) | | | | | | |
Equity component of the 2026 convertible senior notes, net of issuance costs and tax | 268,324 | | | | 268,324 | | | | | | |
Purchase of capped calls | (102,350) | | | | (102,350) | | | | | | |
Other comprehensive income | (219) | | | | | | | (219) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (78,151) | | | | (10,366) | | | | (67,785) | | |
Ending Balance (in shares) at Sep. 30, 2021 | | | | 58,642 | | | | | | | |
Ending Balance at Sep. 30, 2021 | 340,740 | | | $ 586 | 609,433 | | | 157 | (269,436) | | |
Beginning Balance (in shares) at Jun. 30, 2021 | | | | 58,402 | | | | | | | |
Beginning Balance at Jun. 30, 2021 | 337,041 | | | $ 584 | 596,183 | | | 244 | (259,970) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 96 | | | | | | | |
Stock option exercises | 2,628 | | | $ 1 | 2,627 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 144 | | | | | | | |
Vesting of restricted stock units | 1 | | | $ 1 | 0 | | | | 0 | | |
Acquisition of common stock for tax withholding obligations | (2,713) | | | | (2,713) | | | | 0 | | |
Stock-based compensation | 17,372 | | | | 17,372 | | | | 0 | | |
Equity component of the 2026 convertible senior notes, net of issuance costs and tax | 239 | | | | 239 | | | | | | |
Other comprehensive income | (87) | | | | | | | (87) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (13,741) | | | | (4,275) | | | | (9,466) | | |
Ending Balance (in shares) at Sep. 30, 2021 | | | | 58,642 | | | | | | | |
Ending Balance at Sep. 30, 2021 | 340,740 | | | $ 586 | 609,433 | | | 157 | (269,436) | | |
Beginning Balance (in shares) at Dec. 31, 2021 | | | | 58,984 | | | | | | | |
Beginning Balance at Dec. 31, 2021 | 325,036 | $ (262,130) | $ 62,906 | $ 590 | 625,883 | $ (324,418) | $ 301,465 | 298 | (301,735) | $ 62,288 | $ (239,447) |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 202 | | | | | | | |
Stock option exercises | 3,664 | | | $ 2 | 3,662 | | | | | | |
Vesting of restricted stock units (in shares) | | | | 492 | | | | | | | |
Vesting of restricted stock units | 5 | | | $ 5 | 0 | | | | | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 98 | | | | | | | |
Issuance of common stock through employee stock purchase plan | 4,466 | | | $ 1 | 4,465 | | | | | | |
Acquisition of common stock for tax withholding obligations | (7,866) | | | | (7,866) | | | | 0 | | |
Stock-based compensation | 58,829 | | | | 58,829 | | | | 0 | | |
Other comprehensive income | (3,378) | | | | | | | (3,378) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (40,695) | | | | 3,227 | | | | (43,922) | | |
Ending Balance (in shares) at Sep. 30, 2022 | | | | 59,776 | | | | | | | |
Ending Balance at Sep. 30, 2022 | 77,931 | | | $ 598 | 363,782 | | | (3,080) | (283,369) | | |
Beginning Balance (in shares) at Jun. 30, 2022 | | | | 59,573 | | | | | | | |
Beginning Balance at Jun. 30, 2022 | 79,183 | | | $ 596 | 344,264 | | | (952) | (264,725) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 85 | | | | | | | |
Stock option exercises | 1,248 | | | $ 1 | 1,247 | | | | 0 | | |
Vesting of restricted stock units (in shares) | | | | 118 | | | | | | | |
Vesting of restricted stock units | 1 | | | $ 1 | | | | | | | |
Acquisition of common stock for tax withholding obligations | (1,864) | | | | (1,864) | | | | | | |
Stock-based compensation | 21,510 | | | | 21,510 | | | | | | |
Other comprehensive income | (2,128) | | | | | | | (2,128) | | | |
Net loss attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | (20,019) | | | | (1,375) | | | | (18,644) | | |
Ending Balance (in shares) at Sep. 30, 2022 | | | | 59,776 | | | | | | | |
Ending Balance at Sep. 30, 2022 | $ 77,931 | | | $ 598 | $ 363,782 | | | $ (3,080) | $ (283,369) | | |