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 | Common Stock Cumulative Effect, Period of Adoption, Adjusted Balance | 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 Other Comprehensive Income (Loss) Cumulative Effect, Period of Adoption, Adjusted Balance | 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, 2021 | | | | 58,984 | 58,984 | | | | | | | | |
Beginning Balance at Dec. 31, 2021 | $ 325,036 | $ (262,130) | $ 62,906 | $ 590 | $ 590 | $ 625,883 | $ (324,418) | $ 301,465 | $ 298 | $ 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) | | | | | | | |
Stock-based compensation | 58,829 | | | | | 58,829 | | | | | | | |
Other comprehensive loss | (3,378) | | | | | | | | (3,378) | | | | |
Net income (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 | | | | | | | |
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 loss | (2,128) | | | | | | | | (2,128) | | | | |
Net income (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) | | |
Beginning Balance (in shares) at Dec. 31, 2022 | | | | 60,017 | | | | | | | | | |
Beginning Balance at Dec. 31, 2022 | 111,868 | | | $ 600 | | 385,709 | | | (1,472) | | (272,969) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 528 | | | | | | | | | |
Stock option exercises | 18,981 | | | $ 6 | | 18,975 | | | | | | | |
Vesting of restricted stock units (in shares) | | | | 607 | | | | | | | | | |
Vesting of restricted stock units | 6 | | | $ 6 | | | | | | | | | |
Issuance of common stock through employee stock purchase plan (in shares) | | | | 116 | | | | | | | | | |
Issuance of common stock through employee stock purchase plan | 5,291 | | | $ 1 | | 5,290 | | | | | | | |
Acquisition of common stock for tax withholding obligations | (14,144) | | | | | (14,144) | | | | | | | |
Stock-based compensation | 62,652 | | | | | 62,652 | | | | | 0 | | |
Other comprehensive loss | 313 | | | | | | | | 313 | | | | |
Net income (loss) attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | 30,764 | | | | | (3,444) | | | | | 34,208 | | |
Ending Balance (in shares) at Sep. 30, 2023 | | | | 61,268 | | | | | | | | | |
Ending Balance at Sep. 30, 2023 | 215,731 | | | $ 613 | | 455,038 | | | (1,159) | | (238,761) | | |
Beginning Balance (in shares) at Jun. 30, 2023 | | | | 60,947 | | | | | | | | | |
Beginning Balance at Jun. 30, 2023 | 176,362 | | | $ 610 | | 429,320 | | | (1,529) | | (252,039) | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Stock option exercises (in shares) | | | | 169 | | | | | | | | | |
Stock option exercises | 7,066 | | | $ 2 | | 7,064 | | | | | | | |
Vesting of restricted stock units (in shares) | | | | 152 | | | | | | | | | |
Vesting of restricted stock units | 1 | | | $ 1 | | | | | | | | | |
Acquisition of common stock for tax withholding obligations | (722) | | | | | (722) | | | | | | | |
Stock-based compensation | 20,731 | | | | | 20,731 | | | | | | | |
Other comprehensive loss | 370 | | | | | | | | 370 | | | | |
Net income (loss) attributable to BlackLine, Inc., including adjustment to redeemable non-controlling interest | 11,923 | | | | | (1,355) | | | | | 13,278 | | |
Ending Balance (in shares) at Sep. 30, 2023 | | | | 61,268 | | | | | | | | | |
Ending Balance at Sep. 30, 2023 | $ 215,731 | | | $ 613 | | $ 455,038 | | | $ (1,159) | | $ (238,761) | | |