Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) (Unaudited) - USD ($) $ in Thousands | Total | Initial Public Offering | Private Placement | Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred StockInitial Public Offering | Series E Redeemable Convertible Preferred Stock | Series E-2 Redeemable Convertible Preferred Stock | Common Stock | Common StockInitial Public Offering | Common StockPrivate Placement | Additional Paid-in Capital | Additional Paid-in CapitalInitial Public Offering | Additional Paid-in CapitalPrivate Placement | Accumulated Other Comprehensive Income (Loss) | Accumulated Deficit | Total TuSimple Holdings Inc. Stockholders? Deficit | Noncontrolling Interests |
Beginning Balance at Dec. 31, 2019 | | | | $ 293,736 | | | | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | | 74,939,388 | | | | | | | | | | | | | |
Beginning Balance at Dec. 31, 2019 | $ (219,414) | | | | | | | $ 6 | | | | | | $ (658) | $ (218,718) | $ (219,370) | $ (44) |
Beginning Balance, Shares at Dec. 31, 2019 | | | | | | | | 56,516,425 | | | | | | | | | |
Issuance of common stock from exercise of options, shares | | | | | | | | 2,125,000 | | | | | | | | | |
Stock-based compensation | 1,227 | | | | | | | | | | $ 1,227 | | | | | 1,227 | |
Acquisition of noncontrolling interest in subsidiary | | | | | | | | | | | | | | (44) | | (44) | 44 |
Foreign currency translation adjustment | 2 | | | | | | | | | | | | | 2 | | 2 | |
Net loss | (25,761) | | | | | | | | | | | | | | (25,761) | (25,761) | |
Ending Balance at Mar. 31, 2020 | | | | $ 293,736 | | | | | | | | | | | | | |
Ending Balance, Shares at Mar. 31, 2020 | | | | 74,939,388 | | | | | | | | | | | | | |
Ending Balance at Mar. 31, 2020 | (243,946) | | | | | | | $ 6 | | | 1,227 | | | (700) | (244,479) | (243,946) | |
Ending Balance, Shares at Mar. 31, 2020 | | | | | | | | 58,641,425 | | | | | | | | | |
Beginning Balance at Dec. 31, 2019 | | | | $ 293,736 | | | | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2019 | | | | 74,939,388 | | | | | | | | | | | | | |
Beginning Balance at Dec. 31, 2019 | (219,414) | | | | | | | $ 6 | | | | | | (658) | (218,718) | (219,370) | $ (44) |
Beginning Balance, Shares at Dec. 31, 2019 | | | | | | | | 56,516,425 | | | | | | | | | |
Foreign currency translation adjustment | 190 | | | | | | | | | | | | | | | | |
Net loss | (53,845) | | | | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2020 | | | | $ 293,736 | | | | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | | | 74,939,388 | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2020 | (271,389) | | | | | | | $ 6 | | | 1,680 | | | (512) | (272,563) | (271,389) | |
Ending Balance, Shares at Jun. 30, 2020 | | | | | | | | 58,641,425 | | | | | | | | | |
Beginning Balance at Mar. 31, 2020 | | | | $ 293,736 | | | | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2020 | | | | 74,939,388 | | | | | | | | | | | | | |
Beginning Balance at Mar. 31, 2020 | (243,946) | | | | | | | $ 6 | | | 1,227 | | | (700) | (244,479) | (243,946) | |
Beginning Balance, Shares at Mar. 31, 2020 | | | | | | | | 58,641,425 | | | | | | | | | |
Stock-based compensation | 453 | | | | | | | | | | 453 | | | | | 453 | |
Foreign currency translation adjustment | 188 | | | | | | | | | | | | | 188 | | 188 | |
Net loss | (28,084) | | | | | | | | | | | | | | (28,084) | (28,084) | |
Ending Balance at Jun. 30, 2020 | | | | $ 293,736 | | | | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2020 | | | | 74,939,388 | | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2020 | (271,389) | | | | | | | $ 6 | | | 1,680 | | | (512) | (272,563) | $ (271,389) | |
Ending Balance, Shares at Jun. 30, 2020 | | | | | | | | 58,641,425 | | | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ 664,791 | | | $ 664,791 | | | | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2020 | 102,074,703 | | | 102,074,703 | | | | | | | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ (405,473) | | | | | | | $ 6 | | | | | | (301) | (405,178) | | |
Beginning Balance, Shares at Dec. 31, 2020 | | | | | | | | 60,543,337 | | | | | | | | | |
Issuance of redeemable convertible preferred stock, net of issuance costs | | | | | | $ 61,631 | | | | | | | | | | | |
Issuance of redeemable convertible preferred stock, net of issuance costs, shares | | | | | | 4,650,999 | | | | | | | | | | | |
Issuance of redeemable convertible preferred stock from the exercise of warrants | | | | | | $ 379,084 | $ 173,275 | | | | | | | | | | |
Issuance of redeemable convertible preferred stock from the exercise of warrants, shares | | | | | | 9,477,073 | 4,331,644 | | | | | | | | | | |
Issuance of common stock from exercise of options | 1 | | | | | | | | | | 1 | | | | | | |
Issuance of common stock from exercise of options, shares | | | | | | | | 60,616 | | | | | | | | | |
Vesting of early-exercised stock options | 21 | | | | | | | | | | 21 | | | | | | |
Accretion of redeemable convertible preferred stock to redemption value | | | | $ 4,135 | | | | | | | | | | | | | |
Accretion of redeemable convertible preferred stock to redemption value | (4,135) | | | | | | | | | | (4,135) | | | | | | |
Stock-based compensation | 6,289 | | | | | | | | | | 6,289 | | | | | | |
Foreign currency translation adjustment | 911 | | | | | | | | | | | | | 911 | | | |
Net loss | (385,160) | | | | | | | | | | | | | | (385,160) | | |
Ending Balance at Mar. 31, 2021 | | | | $ 1,282,916 | | | | | | | | | | | | | |
Ending Balance, Shares at Mar. 31, 2021 | | | | 120,534,419 | | | | | | | | | | | | | |
Ending Balance at Mar. 31, 2021 | (787,546) | | | | | | | $ 6 | | | 2,176 | | | 610 | (790,338) | | |
Ending Balance, Shares at Mar. 31, 2021 | | | | | | | | 60,603,953 | | | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ 664,791 | | | $ 664,791 | | | | | | | | | | | | | |
Beginning Balance, Shares at Dec. 31, 2020 | 102,074,703 | | | 102,074,703 | | | | | | | | | | | | | |
Beginning Balance at Dec. 31, 2020 | $ (405,473) | | | | | | | $ 6 | | | | | | (301) | (405,178) | | |
Beginning Balance, Shares at Dec. 31, 2020 | | | | | | | | 60,543,337 | | | | | | | | | |
Foreign currency translation adjustment | 136 | | | | | | | | | | | | | | | | |
Net loss | $ (501,689) | | | | | | | | | | | | | | | | |
Ending Balance, Shares at Jun. 30, 2021 | 0 | | | | 0 | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2021 | $ 1,492,970 | | | | | | | $ 21 | | | 2,399,981 | | | (165) | (906,867) | | |
Ending Balance, Shares at Jun. 30, 2021 | | | | | | | | 209,040,398 | | | | | | | | | |
Beginning Balance at Mar. 31, 2021 | | | | $ 1,282,916 | | | | | | | | | | | | | |
Beginning Balance, Shares at Mar. 31, 2021 | | | | 120,534,419 | | | | | | | | | | | | | |
Beginning Balance at Mar. 31, 2021 | (787,546) | | | | | | | $ 6 | | | 2,176 | | | 610 | (790,338) | | |
Beginning Balance, Shares at Mar. 31, 2021 | | | | | | | | 60,603,953 | | | | | | | | | |
Vesting of early-exercised stock options | 21 | | | | | | | | | | 21 | | | | | | |
Conversion of redeemable convertible preferred stock in connection with initial public offering | | | | | $ (1,282,916) | | | | | | | | | | | | |
Conversion of redeemable convertible preferred stock in connection with initial public offering, shares | | | | | (120,534,419) | | | | | | | | | | | | |
Conversion of convertible common stock in connection with initial public offering | | $ 1,282,916 | | | | | | | $ 12 | | | $ 1,282,904 | | | | | |
Conversion of convertible common stock in connection with initial public offering, shares | | | | | | | | | 120,534,419 | | | | | | | | |
Issuance of common stock in connection with initial public offering , net of offering costs and private placement | | $ 1,027,374 | $ 35,000 | | | | | | $ 3 | | | $ 1,027,371 | $ 35,000 | | | | |
Issuance of common stock in connection with initial public offering , net of offering costs and private placement, shares | | | | | | | | | 27,027,027 | 874,999 | | | | | | | |
Stock-based compensation | 52,509 | | | | | | | | | | 52,509 | | | | | | |
Foreign currency translation adjustment | (775) | | | | | | | | | | | | | (775) | | | |
Net loss | $ (116,529) | | | | | | | | | | | | | | (116,529) | | |
Ending Balance, Shares at Jun. 30, 2021 | 0 | | | | 0 | | | | | | | | | | | | |
Ending Balance at Jun. 30, 2021 | $ 1,492,970 | | | | | | | $ 21 | | | $ 2,399,981 | | | $ (165) | $ (906,867) | | |
Ending Balance, Shares at Jun. 30, 2021 | | | | | | | | 209,040,398 | | | | | | | | | |